John Ho commited on
Commit
dc42813
Β·
1 Parent(s): ed66646

change output to JSON foramt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ demo = gr.Interface(
43
  gr.Textbox(label="Object to Detect"),
44
  gr.Dropdown(label="Mode", choices=["point", "object_detection"]),
45
  ],
46
- outputs=gr.JSON(label="Output Text"),
47
  )
48
  demo.launch(
49
  mcp_server=True, app_kwargs={"docs_url": "/docs"} # add FastAPI Swagger API Docs
 
43
  gr.Textbox(label="Object to Detect"),
44
  gr.Dropdown(label="Mode", choices=["point", "object_detection"]),
45
  ],
46
+ outputs=gr.JSON(label="Output JSON"),
47
  )
48
  demo.launch(
49
  mcp_server=True, app_kwargs={"docs_url": "/docs"} # add FastAPI Swagger API Docs