Spaces:
Runtime error
Runtime error
Download app.py from argami/chatbot-test: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/spaces/argami/chatbot-test/resolve/main/app.py
- Command line
-
hf download hf://spaces/argami/chatbot-test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/argami/chatbot-test/resolve/main/app.py
245 Bytes
| import os | |
| import gradio as gr | |
| import dotenv | |
| dotenv.load_dotenv() | |
| read_key = os.environ.get("HF_TOKEN", None) | |
| # the space is displayed, but does nothing | |
| demo = gr.load("argami/ba-chatbot", token=read_key, src="spaces") | |
| demo.launch(share=True) | |