Spaces:
Runtime error
Runtime error
remove clear and load button
Browse files
app.py
CHANGED
@@ -186,11 +186,11 @@ if __name__=='__main__':
|
|
186 |
|
187 |
with gr.Row():
|
188 |
submit_btn = gr.Button("Generate panorama")
|
189 |
-
clear_btn = gr.Button("Clear all texts")
|
190 |
-
clear_btn.click(
|
191 |
-
|
192 |
-
|
193 |
-
)
|
194 |
|
195 |
with gr.Accordion("Expand/hide examples") as acc:
|
196 |
for i in range(0, len(examples_basic)):
|
@@ -226,12 +226,12 @@ if __name__=='__main__':
|
|
226 |
with gr.Row():
|
227 |
|
228 |
submit_btn = gr.Button("Generate panorama")
|
229 |
-
clear_btn = gr.Button("Clear all texts")
|
230 |
-
clear_btn.click(
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
)
|
235 |
with gr.Accordion("Expand/hide examples") as acc_advanced:
|
236 |
for i, example in enumerate(examples_advanced):
|
237 |
with gr.Row():
|
@@ -276,4 +276,4 @@ if __name__=='__main__':
|
|
276 |
outputs[8].render()
|
277 |
|
278 |
demo.queue()
|
279 |
-
demo.launch()
|
|
|
186 |
|
187 |
with gr.Row():
|
188 |
submit_btn = gr.Button("Generate panorama")
|
189 |
+
# clear_btn = gr.Button("Clear all texts")
|
190 |
+
# clear_btn.click(
|
191 |
+
# clear,
|
192 |
+
# outputs=inputs+[textbox1]
|
193 |
+
# )
|
194 |
|
195 |
with gr.Accordion("Expand/hide examples") as acc:
|
196 |
for i in range(0, len(examples_basic)):
|
|
|
226 |
with gr.Row():
|
227 |
|
228 |
submit_btn = gr.Button("Generate panorama")
|
229 |
+
# clear_btn = gr.Button("Clear all texts")
|
230 |
+
# clear_btn.click(
|
231 |
+
# clear,
|
232 |
+
# outputs=inputs+[textbox1],
|
233 |
+
# queue=True,
|
234 |
+
# )
|
235 |
with gr.Accordion("Expand/hide examples") as acc_advanced:
|
236 |
for i, example in enumerate(examples_advanced):
|
237 |
with gr.Row():
|
|
|
276 |
outputs[8].render()
|
277 |
|
278 |
demo.queue()
|
279 |
+
demo.launch(share=True)
|