Spaces:
Running
Running
non interactive output fields
Browse files
app.py
CHANGED
|
@@ -150,7 +150,7 @@ with gr.Blocks(title="GameSmith AI - Game Asset Studio") as demo:
|
|
| 150 |
gen_btn = gr.Button("Generate Sprite", variant="primary")
|
| 151 |
|
| 152 |
with gr.Column():
|
| 153 |
-
result_image = gr.Image(label="Generated Sprite", type="pil")
|
| 154 |
# Hidden state to pass base64 to next tab if needed
|
| 155 |
sprite_b64_state = gr.State()
|
| 156 |
|
|
@@ -178,7 +178,7 @@ with gr.Blocks(title="GameSmith AI - Game Asset Studio") as demo:
|
|
| 178 |
anim_btn = gr.Button("Animate", variant="primary")
|
| 179 |
|
| 180 |
with gr.Column():
|
| 181 |
-
result_video = gr.Video(label="Generated Animation")
|
| 182 |
video_b64_state = gr.State()
|
| 183 |
|
| 184 |
# Link previous tab result to this input
|
|
|
|
| 150 |
gen_btn = gr.Button("Generate Sprite", variant="primary")
|
| 151 |
|
| 152 |
with gr.Column():
|
| 153 |
+
result_image = gr.Image(label="Generated Sprite", type="pil", interactive=False)
|
| 154 |
# Hidden state to pass base64 to next tab if needed
|
| 155 |
sprite_b64_state = gr.State()
|
| 156 |
|
|
|
|
| 178 |
anim_btn = gr.Button("Animate", variant="primary")
|
| 179 |
|
| 180 |
with gr.Column():
|
| 181 |
+
result_video = gr.Video(label="Generated Animation", interactive=False)
|
| 182 |
video_b64_state = gr.State()
|
| 183 |
|
| 184 |
# Link previous tab result to this input
|