Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from lumaai import LumaAI # Adjust
|
3 |
import requests
|
4 |
from PIL import Image
|
5 |
from io import BytesIO
|
@@ -95,7 +95,7 @@ with gr.Blocks() as demo:
|
|
95 |
with gr.Column(scale=3):
|
96 |
status = gr.Textbox(
|
97 |
label="Status",
|
98 |
-
readonly=True
|
99 |
)
|
100 |
thumbnail = gr.Image(
|
101 |
label="Thumbnail",
|
@@ -162,5 +162,5 @@ with gr.Blocks() as demo:
|
|
162 |
- [Luma AI Python SDK](https://github.com/lumalabs/lumaai-python)
|
163 |
- [Get API Key](https://lumalabs.ai/dream-machine/api/keys)
|
164 |
""")
|
165 |
-
|
166 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
from lumaai.client import LumaAI # Adjust based on your findings
|
3 |
import requests
|
4 |
from PIL import Image
|
5 |
from io import BytesIO
|
|
|
95 |
with gr.Column(scale=3):
|
96 |
status = gr.Textbox(
|
97 |
label="Status",
|
98 |
+
interactive=False # Replaces readonly=True
|
99 |
)
|
100 |
thumbnail = gr.Image(
|
101 |
label="Thumbnail",
|
|
|
162 |
- [Luma AI Python SDK](https://github.com/lumalabs/lumaai-python)
|
163 |
- [Get API Key](https://lumalabs.ai/dream-machine/api/keys)
|
164 |
""")
|
165 |
+
|
166 |
demo.launch()
|