gpaasch commited on
Commit
fd7fa97
·
1 Parent(s): 8af31af

Use `demo` as Gradio entrypoint identifier

Browse files

- Rename Gradio Blocks context in `src/app.py` from `iface` to `demo` to match official docs
- Update root-level `app.py` wrapper to import and launch `demo` instead of `iface`

Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -37,4 +37,4 @@ with gr.Blocks() as demo:
37
  inp.submit(fn=map_symptoms, inputs=inp, outputs=out)
38
 
39
  if __name__ == "__main__":
40
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
37
  inp.submit(fn=map_symptoms, inputs=inp, outputs=out)
38
 
39
  if __name__ == "__main__":
40
+ demo.launch(server_name="0.0.0.0", server_port=7860, mcp_server=True)