Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add ltx video
Browse files- .gitignore +85 -0
- app.py +3 -2
- app_ltx_video.py +14 -0
- requirements.txt +2 -1
.gitignore
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Python
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
*.so
|
6 |
+
.Python
|
7 |
+
build/
|
8 |
+
develop-eggs/
|
9 |
+
dist/
|
10 |
+
downloads/
|
11 |
+
eggs/
|
12 |
+
.eggs/
|
13 |
+
lib/
|
14 |
+
lib64/
|
15 |
+
parts/
|
16 |
+
sdist/
|
17 |
+
var/
|
18 |
+
wheels/
|
19 |
+
*.egg-info/
|
20 |
+
.installed.cfg
|
21 |
+
*.egg
|
22 |
+
|
23 |
+
# Virtual Environment
|
24 |
+
venv/
|
25 |
+
env/
|
26 |
+
ENV/
|
27 |
+
.env
|
28 |
+
.venv
|
29 |
+
env.bak/
|
30 |
+
venv.bak/
|
31 |
+
|
32 |
+
# IDE specific files
|
33 |
+
.idea/
|
34 |
+
.vscode/
|
35 |
+
*.swp
|
36 |
+
*.swo
|
37 |
+
.DS_Store
|
38 |
+
.vs/
|
39 |
+
|
40 |
+
# Jupyter Notebook
|
41 |
+
.ipynb_checkpoints
|
42 |
+
|
43 |
+
# Gradio
|
44 |
+
flagged/
|
45 |
+
gradio_cached_examples/
|
46 |
+
|
47 |
+
# Logs
|
48 |
+
*.log
|
49 |
+
logs/
|
50 |
+
*.out
|
51 |
+
|
52 |
+
# Local development settings
|
53 |
+
.env.local
|
54 |
+
.env.development.local
|
55 |
+
.env.test.local
|
56 |
+
.env.production.local
|
57 |
+
|
58 |
+
# Coverage reports
|
59 |
+
htmlcov/
|
60 |
+
.tox/
|
61 |
+
.coverage
|
62 |
+
.coverage.*
|
63 |
+
.cache
|
64 |
+
nosetests.xml
|
65 |
+
coverage.xml
|
66 |
+
*.cover
|
67 |
+
.hypothesis/
|
68 |
+
|
69 |
+
# Distribution / packaging
|
70 |
+
.Python
|
71 |
+
build/
|
72 |
+
develop-eggs/
|
73 |
+
dist/
|
74 |
+
downloads/
|
75 |
+
eggs/
|
76 |
+
.eggs/
|
77 |
+
lib/
|
78 |
+
lib64/
|
79 |
+
parts/
|
80 |
+
sdist/
|
81 |
+
var/
|
82 |
+
wheels/
|
83 |
+
*.egg-info/
|
84 |
+
.installed.cfg
|
85 |
+
*.egg
|
app.py
CHANGED
@@ -15,6 +15,7 @@ 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 |
|
19 |
with gr.Blocks(fill_height=True) as demo:
|
20 |
with gr.Tab("Meta Llama"):
|
@@ -24,8 +25,8 @@ with gr.Blocks(fill_height=True) as demo:
|
|
24 |
)
|
25 |
with gr.Tab("Gemini"):
|
26 |
demo_gemini.render()
|
27 |
-
with gr.Tab("
|
28 |
-
|
29 |
with gr.Tab("ChatGPT"):
|
30 |
demo_openai.render()
|
31 |
with gr.Tab("Claude"):
|
|
|
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:
|
21 |
with gr.Tab("Meta Llama"):
|
|
|
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"):
|
app_ltx_video.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import fal_gradio
|
3 |
+
from utils import get_app
|
4 |
+
|
5 |
+
demo = get_app(
|
6 |
+
models=[
|
7 |
+
"fal-ai/ltx-video",
|
8 |
+
],
|
9 |
+
default_model="fal-ai/ltx-video",
|
10 |
+
src=fal_gradio.registry,
|
11 |
+
)
|
12 |
+
|
13 |
+
if __name__ == "__main__":
|
14 |
+
demo.launch()
|
requirements.txt
CHANGED
@@ -321,4 +321,5 @@ websockets==12.0
|
|
321 |
# via gradio-client
|
322 |
xai-gradio==0.0.2
|
323 |
# via anychat (pyproject.toml)
|
324 |
-
replicate-gradio @ git+https://github.com/AK391/replicate-gradio.git
|
|
|
|
321 |
# via gradio-client
|
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
|