tori29umai commited on
Commit
cb13df9
·
1 Parent(s): 19149b6
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -218,17 +218,17 @@ class webui:
218
  self.demo.add(gamma, gamma_description)
219
  self.demo.add(submit)
220
 
221
- with gr.Column():
222
- output_image = gr.Image(label="Processed Image")
223
 
224
- submit.click(
225
- self.main,
226
- inputs=[input_image, kernel_size, sigma, k_sigma, epsilon, phi, gamma],
227
- outputs=[output_image]
228
- )
229
 
230
- self.demo.launch(share=share)
231
 
232
- if __name__ == "__main__":
233
- ui = webui()
234
- ui.launch(share=True)
 
218
  self.demo.add(gamma, gamma_description)
219
  self.demo.add(submit)
220
 
221
+ with gr.Column():
222
+ output_image = gr.Image(label="Processed Image")
223
 
224
+ submit.click(
225
+ self.main,
226
+ inputs=[input_image, kernel_size, sigma, k_sigma, epsilon, phi, gamma],
227
+ outputs=[output_image]
228
+ )
229
 
230
+ self.demo.launch(share=share)
231
 
232
+ if __name__ == "__main__":
233
+ ui = webui()
234
+ ui.launch(share=True)