Spaces:
Runtime error
Runtime error
update replicate tab
Browse files- app.py +7 -7
- app_mindsearch.py +0 -4
- app_flux.py → app_replicate.py +2 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -6,7 +6,7 @@ from app_allenai import demo as demo_allenai
|
|
6 |
from app_claude import demo as demo_claude
|
7 |
from app_experimental import demo as demo_experimental
|
8 |
from app_fireworks import demo as demo_fireworks
|
9 |
-
from
|
10 |
from app_gemini import demo as demo_gemini
|
11 |
from app_groq import demo as demo_groq
|
12 |
from app_hyperbolic import demo as demo_hyperbolic
|
@@ -23,6 +23,12 @@ from app_xai import demo as demo_grok
|
|
23 |
from app_showui import demo as demo_showui
|
24 |
|
25 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
with gr.Tab("Huggingface"):
|
27 |
demo_huggingface.render()
|
28 |
with gr.Tab("Fal"):
|
@@ -59,9 +65,6 @@ with gr.Blocks(fill_height=True) as demo:
|
|
59 |
with gr.Tab("Claude"):
|
60 |
demo_claude.render()
|
61 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
62 |
-
with gr.Tab("Qwen"):
|
63 |
-
demo_qwen.render()
|
64 |
-
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
65 |
with gr.Tab("Allen AI"):
|
66 |
demo_allenai.render()
|
67 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
@@ -98,9 +101,6 @@ with gr.Blocks(fill_height=True) as demo:
|
|
98 |
with gr.Tab("NVIDIA"):
|
99 |
demo_nvidia.render()
|
100 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
101 |
-
with gr.Tab("Flux"):
|
102 |
-
demo_flux.render()
|
103 |
-
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
104 |
|
105 |
|
106 |
if __name__ == "__main__":
|
|
|
6 |
from app_claude import demo as demo_claude
|
7 |
from app_experimental import demo as demo_experimental
|
8 |
from app_fireworks import demo as demo_fireworks
|
9 |
+
from app_replicate import demo as demo_replicate
|
10 |
from app_gemini import demo as demo_gemini
|
11 |
from app_groq import demo as demo_groq
|
12 |
from app_hyperbolic import demo as demo_hyperbolic
|
|
|
23 |
from app_showui import demo as demo_showui
|
24 |
|
25 |
with gr.Blocks(fill_height=True) as demo:
|
26 |
+
with gr.Tab("Replicate"):
|
27 |
+
demo_replicate.render()
|
28 |
+
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
29 |
+
with gr.Tab("Qwen"):
|
30 |
+
demo_qwen.render()
|
31 |
+
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
32 |
with gr.Tab("Huggingface"):
|
33 |
demo_huggingface.render()
|
34 |
with gr.Tab("Fal"):
|
|
|
65 |
with gr.Tab("Claude"):
|
66 |
demo_claude.render()
|
67 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
|
|
|
|
|
|
68 |
with gr.Tab("Allen AI"):
|
69 |
demo_allenai.render()
|
70 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
|
|
101 |
with gr.Tab("NVIDIA"):
|
102 |
demo_nvidia.render()
|
103 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
|
|
|
|
|
|
104 |
|
105 |
|
106 |
if __name__ == "__main__":
|
app_mindsearch.py
CHANGED
@@ -4,10 +4,6 @@ import spaces
|
|
4 |
# Load the Gradio space
|
5 |
demo = gr.load(name="internlm/MindSearch", src="spaces")
|
6 |
|
7 |
-
# Ensure the main function runs on a GPU
|
8 |
-
# if hasattr(demo, 'fn'):
|
9 |
-
# demo.fn = spaces.GPU()(demo.fn)
|
10 |
-
|
11 |
# Disable API access for all functions
|
12 |
if hasattr(demo, 'fns'):
|
13 |
for fn in demo.fns.values():
|
|
|
4 |
# Load the Gradio space
|
5 |
demo = gr.load(name="internlm/MindSearch", src="spaces")
|
6 |
|
|
|
|
|
|
|
|
|
7 |
# Disable API access for all functions
|
8 |
if hasattr(demo, 'fns'):
|
9 |
for fn in demo.fns.values():
|
app_flux.py → app_replicate.py
RENAMED
@@ -8,8 +8,9 @@ demo = get_app(
|
|
8 |
"black-forest-labs/flux-canny-pro",
|
9 |
"black-forest-labs/flux-fill-pro",
|
10 |
"black-forest-labs/flux-depth-dev",
|
|
|
11 |
],
|
12 |
-
default_model="
|
13 |
src=replicate_gradio.registry,
|
14 |
)
|
15 |
|
|
|
8 |
"black-forest-labs/flux-canny-pro",
|
9 |
"black-forest-labs/flux-fill-pro",
|
10 |
"black-forest-labs/flux-depth-dev",
|
11 |
+
"zsxkib/hunyuan-video:349dbe0feb6e8e4a6fab3c6a4dd642413e6c10735353de8b40f12abeee203617",
|
12 |
],
|
13 |
+
default_model="zsxkib/hunyuan-video:349dbe0feb6e8e4a6fab3c6a4dd642413e6c10735353de8b40f12abeee203617",
|
14 |
src=replicate_gradio.registry,
|
15 |
)
|
16 |
|
requirements.txt
CHANGED
@@ -307,7 +307,7 @@ pyyaml==6.0.2
|
|
307 |
# huggingface-hub
|
308 |
replicate==1.0.4
|
309 |
# via replicate-gradio
|
310 |
-
replicate-gradio @ git+https://github.com/AK391/replicate-gradio.git@
|
311 |
# via anychat (pyproject.toml)
|
312 |
requests==2.32.3
|
313 |
# via
|
|
|
307 |
# huggingface-hub
|
308 |
replicate==1.0.4
|
309 |
# via replicate-gradio
|
310 |
+
replicate-gradio @ git+https://github.com/AK391/replicate-gradio.git@311e9d90001e9902bb979b95fcac89990110b228
|
311 |
# via anychat (pyproject.toml)
|
312 |
requests==2.32.3
|
313 |
# via
|