Download app.py from indraw111/test2: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/spaces/indraw111/test2/resolve/main/app.py
- Command line
-
hf download hf://spaces/indraw111/test2/app.py
-
curl -L -o app.py https://huggingface.co/spaces/indraw111/test2/resolve/main/app.py
434 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 google/gemma-2-27b-it model, served by the nebius API. Sign in with your Hugging Face account to use this API.") | |
| button = gr.LoginButton("Sign in") | |
| gr.load("models/google/gemma-2-27b-it", accept_token=button, provider="nebius") | |
| demo.launch() |