Spaces:
Runtime error
Runtime error
Download app.py from Aieml/proxy-chat: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/Aieml/proxy-chat/resolve/main/app.py
- Command line
-
hf download hf://spaces/Aieml/proxy-chat/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Aieml/proxy-chat/resolve/main/app.py
288 Bytes
| import gradio as gr | |
| import os | |
| # Retrieve the access token from environment variables | |
| hf_token = os.getenv("HF_TOKEN") | |
| # Load the interface from the private Space with authentication | |
| interface = gr.load("AIBotsTesting/ChatBots", src="spaces") | |
| # Launch the interface | |
| interface.launch() | |