Spaces:
Running
on
Zero
Running
on
Zero
add marco o1
Browse files- app.py +3 -0
- app_marco_o1.py +16 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
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
|
@@ -22,6 +23,8 @@ with gr.Blocks(fill_height=True) as demo:
|
|
22 |
gr.Markdown(
|
23 |
"**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/)."
|
24 |
)
|
|
|
|
|
25 |
with gr.Tab("Gemini"):
|
26 |
demo_gemini.render()
|
27 |
with gr.Tab("LTX Video"):
|
|
|
1 |
import gradio as gr
|
2 |
+
from app_marco_o1 import demo as demo_marco_o1
|
3 |
from app_sambanova_qwen import demo as demo_sambanova_qwen
|
4 |
from app_claude import demo as demo_claude
|
5 |
from app_fireworks import demo as demo_fireworks
|
|
|
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("Marco-o1"):
|
27 |
+
demo_marco_o1.render()
|
28 |
with gr.Tab("Gemini"):
|
29 |
demo_gemini.render()
|
30 |
with gr.Tab("LTX Video"):
|
app_marco_o1.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
import transformers_gradio
|
4 |
+
|
5 |
+
from utils import get_app
|
6 |
+
|
7 |
+
demo = get_app(
|
8 |
+
models=[
|
9 |
+
'AIDC-AI/Marco-o1'
|
10 |
+
],
|
11 |
+
default_model="AIDC-AI/Marco-o1",
|
12 |
+
src=transformers_gradio.registry,
|
13 |
+
)
|
14 |
+
|
15 |
+
if __name__ == "__main__":
|
16 |
+
demo.launch()
|
requirements.txt
CHANGED
@@ -322,4 +322,5 @@ websockets==12.0
|
|
322 |
xai-gradio==0.0.2
|
323 |
# via anychat (pyproject.toml)
|
324 |
replicate-gradio @ git+https://github.com/AK391/replicate-gradio.git
|
325 |
-
fal-gradio @ git+https://github.com/AK391/fal-gradio.git
|
|
|
|
322 |
xai-gradio==0.0.2
|
323 |
# via anychat (pyproject.toml)
|
324 |
replicate-gradio @ git+https://github.com/AK391/replicate-gradio.git
|
325 |
+
fal-gradio @ git+https://github.com/AK391/fal-gradio.git
|
326 |
+
transformers-gradio @ git+https://github.com/AK391/transformers-gradio.git
|