Spaces:
Runtime error
Runtime error
Download app.py from petehops1973/Qwen-Qwen2.5-Coder-32B-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/petehops1973/Qwen-Qwen2.5-Coder-32B-Instruct/resolve/main/app.py
- Command line
-
hf download hf://spaces/petehops1973/Qwen-Qwen2.5-Coder-32B-Instruct/app.py
-
curl -L -o app.py https://huggingface.co/spaces/petehops1973/Qwen-Qwen2.5-Coder-32B-Instruct/resolve/main/app.py
454 Bytes
| import gradio as gr | |
| with gr.Blocks(fill_height=True) as demo: | |
| with gr.Sidebar(): | |
| gr.Markdown("# Inference Provider") | |
| gr.Markdown("This Space showcases the Qwen/Qwen2.5-Coder-32B-Instruct model, served by the nscale API. Sign in with your Hugging Face account to use this API.") | |
| button = gr.LoginButton("Sign in") | |
| gr.load("models/Qwen/Qwen2.5-Coder-32B-Instruct", accept_token=button, provider="nscale") | |
| demo.launch() |