Upload 2 files
Browse files
README.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Deepseek Ai DeepSeek Prover V2 671B
|
3 |
+
emoji: 👀
|
4 |
+
colorFrom: red
|
5 |
+
colorTo: blue
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 5.28.0
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
hf_oauth: true
|
11 |
+
hf_oauth_scopes:
|
12 |
+
- inference-api
|
13 |
+
---
|
14 |
+
|
15 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
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-Prover-V2-671B model, served by the novita 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-Prover-V2-671B", accept_token=button, provider="novita")
|
9 |
+
|
10 |
+
demo.launch()
|