Spaces:
Running
Running
AiActivity
commited on
Commit
•
9f53ace
1
Parent(s):
1ba8f21
Update app.py
Browse files
app.py
CHANGED
@@ -1,20 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
-
from app_sambanova_qwen import demo as demo_sambanova_qwen
|
3 |
-
from app_claude import demo as demo_claude
|
4 |
-
from app_fireworks import demo as demo_fireworks
|
5 |
-
from app_gemini import demo as demo_gemini
|
6 |
-
from app_groq import demo as demo_groq
|
7 |
from app_hf import demo as demo_hf
|
8 |
-
from app_hyperbolic import demo as demo_hyperbolic
|
9 |
-
from app_mistral import demo as demo_mistral
|
10 |
-
from app_nvidia import demo as demo_nvidia
|
11 |
-
from app_openai import demo as demo_openai
|
12 |
-
from app_perplexity import demo as demo_perplexity
|
13 |
-
from app_qwen import demo as demo_qwen
|
14 |
from app_sambanova import demo as demo_sambanova
|
15 |
from app_together import demo as demo_together
|
16 |
-
from app_xai import demo as demo_grok
|
17 |
-
from app_flux import demo as demo_flux
|
18 |
from app_ltx_video import demo as demo_ltx_video
|
19 |
|
20 |
with gr.Blocks(fill_height=True) as demo:
|
@@ -23,43 +10,12 @@ with gr.Blocks(fill_height=True) as demo:
|
|
23 |
gr.Markdown(
|
24 |
"**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/)."
|
25 |
)
|
26 |
-
with gr.Tab("Gemini"):
|
27 |
-
demo_gemini.render()
|
28 |
with gr.Tab("LTX Video"):
|
29 |
demo_ltx_video.render()
|
30 |
-
with gr.Tab("ChatGPT"):
|
31 |
-
demo_openai.render()
|
32 |
-
with gr.Tab("Claude"):
|
33 |
-
demo_claude.render()
|
34 |
-
with gr.Tab("Grok"):
|
35 |
-
demo_grok.render()
|
36 |
with gr.Tab("Hugging Face"):
|
37 |
demo_hf.render()
|
38 |
-
with gr.Tab("Groq"):
|
39 |
-
demo_groq.render()
|
40 |
-
with gr.Tab("Hyperbolic"):
|
41 |
-
demo_hyperbolic.render()
|
42 |
-
gr.Markdown("""
|
43 |
-
<div>
|
44 |
-
<img src="https://storage.googleapis.com/public-arena-asset/hyperbolic_logo.png" alt="Hyperbolic Logo" style="height: 50px; margin-right: 10px;">
|
45 |
-
</div>
|
46 |
-
|
47 |
-
**Note:** This model is supported by Hyperbolic. Build your AI apps at [Hyperbolic](https://app.hyperbolic.xyz/).
|
48 |
-
""")
|
49 |
-
with gr.Tab("Qwen"):
|
50 |
-
demo_qwen.render()
|
51 |
-
with gr.Tab("Perplexity"):
|
52 |
-
demo_perplexity.render()
|
53 |
-
with gr.Tab("Mistral"):
|
54 |
-
demo_mistral.render()
|
55 |
-
with gr.Tab("Fireworks"):
|
56 |
-
demo_fireworks.render()
|
57 |
with gr.Tab("Together"):
|
58 |
demo_together.render()
|
59 |
-
with gr.Tab("NVIDIA"):
|
60 |
-
demo_nvidia.render()
|
61 |
-
with gr.Tab("Flux"):
|
62 |
-
demo_flux.render()
|
63 |
|
64 |
|
65 |
if __name__ == "__main__":
|
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
2 |
from app_hf import demo as demo_hf
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
from app_sambanova import demo as demo_sambanova
|
4 |
from app_together import demo as demo_together
|
|
|
|
|
5 |
from app_ltx_video import demo as demo_ltx_video
|
6 |
|
7 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
10 |
gr.Markdown(
|
11 |
"**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/)."
|
12 |
)
|
|
|
|
|
13 |
with gr.Tab("LTX Video"):
|
14 |
demo_ltx_video.render()
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
with gr.Tab("Hugging Face"):
|
16 |
demo_hf.render()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
with gr.Tab("Together"):
|
18 |
demo_together.render()
|
|
|
|
|
|
|
|
|
19 |
|
20 |
|
21 |
if __name__ == "__main__":
|