Spaces:
Runtime error
Runtime error
Download app.py from alexdatamed/Test: direct link, hf CLI and curl.
- Browser
- Download file 260 Bytes
-
https://huggingface.co/spaces/alexdatamed/Test/resolve/main/app.py
- Command line
-
hf download hf://spaces/alexdatamed/Test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/alexdatamed/Test/resolve/main/app.py
260 Bytes
| import gradio as gr | |
| import os | |
| # Використовуйте новий параметр token замість hf_token | |
| token = os.environ['HF_TOKEN'] | |
| iface = gr.load( | |
| name="alex18022003/Arsenal_Test", | |
| token=token, | |
| src="spaces" | |
| ) | |
| iface.launch() |