Spaces:
Runtime error
Runtime error
Download app.py from alexdatamed/SurgeryChatStatsUI: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/spaces/alexdatamed/SurgeryChatStatsUI/resolve/main/app.py
- Command line
-
hf download hf://spaces/alexdatamed/SurgeryChatStatsUI/app.py
-
curl -L -o app.py https://huggingface.co/spaces/alexdatamed/SurgeryChatStatsUI/resolve/main/app.py
196 Bytes
| import os | |
| import gradio as gr | |
| #token | |
| token = os.getenv("HF_TOKEN") | |
| assert token, "HF_TOKEN secret missing" | |
| demo = gr.load("alexdatamed/SurgeryChatStats", src="spaces", token=token) | |
| demo.launch() |