wanifuck Claude commited on
Commit
cd5af3c
·
1 Parent(s): 6dc4b6b

fix: API endpoint name from ocr_api to predict

Browse files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -249,7 +249,7 @@ with gr.Blocks(
249
  fn=api_interface,
250
  inputs=[api_image],
251
  outputs=[api_output],
252
- api_name="ocr_api"
253
  )
254
 
255
  # アプリケーション起動時にモデルを読み込み
 
249
  fn=api_interface,
250
  inputs=[api_image],
251
  outputs=[api_output],
252
+ api_name="predict"
253
  )
254
 
255
  # アプリケーション起動時にモデルを読み込み