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

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. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  # app.py at repo root
2
- from src.app import iface
3
 
4
  if __name__ == "__main__":
5
- iface.launch()
 
1
  # app.py at repo root
2
+ from src.app import demo
3
 
4
  if __name__ == "__main__":
5
+ demo.launch()