Spaces:
Runtime error
Runtime error
tori29umai
commited on
Commit
·
ac47311
1
Parent(s):
cb13df9
Update
Browse files
app.py
CHANGED
@@ -218,16 +218,19 @@ class webui:
|
|
218 |
self.demo.add(gamma, gamma_description)
|
219 |
self.demo.add(submit)
|
220 |
|
221 |
-
with gr.
|
222 |
-
|
223 |
-
|
|
|
|
|
224 |
submit.click(
|
225 |
self.main,
|
226 |
-
inputs=[input_image,
|
227 |
-
outputs=[
|
228 |
)
|
229 |
|
230 |
-
|
|
|
231 |
|
232 |
if __name__ == "__main__":
|
233 |
ui = webui()
|
|
|
218 |
self.demo.add(gamma, gamma_description)
|
219 |
self.demo.add(submit)
|
220 |
|
221 |
+
with gr.Row():
|
222 |
+
with gr.Column():
|
223 |
+
with gr.Tab("output"):
|
224 |
+
output_0 = gr.Gallery(format="png")
|
225 |
+
output_file = gr.File()
|
226 |
submit.click(
|
227 |
self.main,
|
228 |
+
inputs=[input_image],
|
229 |
+
outputs=[output_0, output_file]
|
230 |
)
|
231 |
|
232 |
+
self.demo.queue()
|
233 |
+
self.demo.launch(share=share)
|
234 |
|
235 |
if __name__ == "__main__":
|
236 |
ui = webui()
|