Spaces:
Runtime error
Runtime error
Badr AlKhamissi
commited on
Commit
·
470b2c3
1
Parent(s):
a8674f9
trying to resolve gif issue
Browse files
app.py
CHANGED
@@ -357,16 +357,16 @@ with gr.Blocks() as demo:
|
|
357 |
with gr.Column():
|
358 |
result0 = gr.Image(type="filepath", label="Initial Word").style(height=250)
|
359 |
result1 = gr.Image(type="filepath", label="Optimization Process").style(height=300)
|
360 |
-
result2 = gr.
|
361 |
|
362 |
|
363 |
with gr.Row():
|
364 |
# examples
|
365 |
examples = [
|
366 |
-
["قطة", "Cat",
|
367 |
-
["كلب", "Dog",
|
368 |
-
["حصان", "Horse",
|
369 |
-
["أخطبوط", "Octopus",
|
370 |
]
|
371 |
demo.queue(max_size=10, concurrency_count=1)
|
372 |
gr.Examples(examples=examples,
|
|
|
357 |
with gr.Column():
|
358 |
result0 = gr.Image(type="filepath", label="Initial Word").style(height=250)
|
359 |
result1 = gr.Image(type="filepath", label="Optimization Process").style(height=300)
|
360 |
+
result2 = gr.Video(type="filepath", label="Final Result",visible=False).style(height=300)
|
361 |
|
362 |
|
363 |
with gr.Row():
|
364 |
# examples
|
365 |
examples = [
|
366 |
+
["قطة", "Cat", 5, 42],
|
367 |
+
# ["كلب", "Dog", 5, 42],
|
368 |
+
# ["حصان", "Horse", 5, 42],
|
369 |
+
# ["أخطبوط", "Octopus", 5, 42],
|
370 |
]
|
371 |
demo.queue(max_size=10, concurrency_count=1)
|
372 |
gr.Examples(examples=examples,
|