Spaces:
Running
Running
Commit
·
a578853
1
Parent(s):
ad658fe
Update
Browse files
app.py
CHANGED
|
@@ -229,11 +229,12 @@ class webui:
|
|
| 229 |
with gr.Tab("output"):
|
| 230 |
output_0 = gr.Gallery(format="png")
|
| 231 |
output_file = gr.File()
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
|
|
|
| 237 |
|
| 238 |
self.demo.queue()
|
| 239 |
self.demo.launch(share=share)
|
|
|
|
| 229 |
with gr.Tab("output"):
|
| 230 |
output_0 = gr.Gallery(format="png")
|
| 231 |
output_file = gr.File()
|
| 232 |
+
|
| 233 |
+
submit.click(
|
| 234 |
+
self.main,
|
| 235 |
+
inputs=[input_image, kernel_size, sigma, k_sigma, epsilon, phi, gamma],
|
| 236 |
+
outputs=[output_0, output_file]
|
| 237 |
+
)
|
| 238 |
|
| 239 |
self.demo.queue()
|
| 240 |
self.demo.launch(share=share)
|