Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
with gr.Blocks(fill_height=True) as demo:
|
4 |
+
with gr.Sidebar():
|
5 |
+
gr.Markdown("# Inference Provider")
|
6 |
+
gr.Markdown("This Space showcases the deepseek-ai/DeepSeek-V3-0324 model, served by the fireworks-ai API. Sign in with your Hugging Face account to use this API.")
|
7 |
+
button = gr.LoginButton("Sign in")
|
8 |
+
gr.load("models/deepseek-ai/DeepSeek-V3-0324", accept_token=button, provider="fireworks-ai")
|
9 |
+
|
10 |
+
demo.launch()
|