Spaces:
Runtime error
Runtime error
add lumaai
Browse files- app.py +4 -0
- app_lumaai.py +7 -0
- requirements.txt +3 -1
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
| 3 |
from app_paligemma import demo as demo_paligemma
|
| 4 |
from app_replicate import demo as demo_replicate
|
| 5 |
from app_huggingface import demo as demo_huggingface
|
|
@@ -25,6 +26,9 @@ from app_xai import demo as demo_grok
|
|
| 25 |
from app_showui import demo as demo_showui
|
| 26 |
|
| 27 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
|
|
|
|
|
|
| 28 |
with gr.Tab("Paligemma 2"):
|
| 29 |
gr.Markdown("paligemma2-10b-ft-docci-448 is a fine-tuned version of Paligemma 2 on the DOCCI dataset, which can accomplish a wide range of captioning tasks, including text rendering, capturing spatial relations, and including world knowledge in captions.")
|
| 30 |
demo_paligemma.render()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
from app_lumaai import demo as demo_lumaai
|
| 4 |
from app_paligemma import demo as demo_paligemma
|
| 5 |
from app_replicate import demo as demo_replicate
|
| 6 |
from app_huggingface import demo as demo_huggingface
|
|
|
|
| 26 |
from app_showui import demo as demo_showui
|
| 27 |
|
| 28 |
with gr.Blocks(fill_height=True) as demo:
|
| 29 |
+
with gr.Tab("LumaAI"):
|
| 30 |
+
demo_lumaai.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("Paligemma 2"):
|
| 33 |
gr.Markdown("paligemma2-10b-ft-docci-448 is a fine-tuned version of Paligemma 2 on the DOCCI dataset, which can accomplish a wide range of captioning tasks, including text rendering, capturing spatial relations, and including world knowledge in captions.")
|
| 34 |
demo_paligemma.render()
|
app_lumaai.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import lumaai_gradio
|
| 3 |
+
|
| 4 |
+
demo = gr.load(
|
| 5 |
+
name='dream-machine',
|
| 6 |
+
src=lumaai_gradio.registry,
|
| 7 |
+
)
|
requirements.txt
CHANGED
|
@@ -395,4 +395,6 @@ websockets==12.0
|
|
| 395 |
# via gradio-client
|
| 396 |
xai-gradio==0.0.2
|
| 397 |
# via anychat (pyproject.toml)
|
| 398 |
-
playai-gradio @ git+https://github.com/AK391/playai-gradio.git
|
|
|
|
|
|
|
|
|
| 395 |
# via gradio-client
|
| 396 |
xai-gradio==0.0.2
|
| 397 |
# via anychat (pyproject.toml)
|
| 398 |
+
playai-gradio @ git+https://github.com/AK391/playai-gradio.git
|
| 399 |
+
|
| 400 |
+
lumaai-gradio @ git+https://github.com/AK391/lumaai-gradio.git
|