Spaces:
Runtime error
Runtime error
updated
Browse files
app.py
CHANGED
@@ -90,8 +90,14 @@ def main():
|
|
90 |
with gr.Group():
|
91 |
translated_text = gr.Textbox(label='Translated Text')
|
92 |
with gr.Tabs():
|
93 |
-
with gr.TabItem('
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
# examples = gr.Examples(
|
97 |
# examples=[['骑滑板的皮卡丘', False, 1234, True,None],
|
@@ -112,7 +118,8 @@ def main():
|
|
112 |
only_first_stage,
|
113 |
image_prompt
|
114 |
],
|
115 |
-
outputs=[translated_text,
|
|
|
116 |
print(gr.__version__)
|
117 |
|
118 |
demo.launch()
|
|
|
90 |
with gr.Group():
|
91 |
translated_text = gr.Textbox(label='Translated Text')
|
92 |
with gr.Tabs():
|
93 |
+
with gr.TabItem('Output1 (Video)'):
|
94 |
+
result_video1 = gr.Video(show_label=False)
|
95 |
+
with gr.TabItem('Output2 (Video)'):
|
96 |
+
result_video2 = gr.Video(show_label=False)
|
97 |
+
with gr.TabItem('Output3 (Video)'):
|
98 |
+
result_video3 = gr.Video(show_label=False)
|
99 |
+
with gr.TabItem('Output4 (Video)'):
|
100 |
+
result_video4 = gr.Video(show_label=False)
|
101 |
|
102 |
# examples = gr.Examples(
|
103 |
# examples=[['骑滑板的皮卡丘', False, 1234, True,None],
|
|
|
118 |
only_first_stage,
|
119 |
image_prompt
|
120 |
],
|
121 |
+
outputs=[translated_text, result_video1, result_video2,
|
122 |
+
result_video3, result_video4])
|
123 |
print(gr.__version__)
|
124 |
|
125 |
demo.launch()
|