SoDa12321 commited on
Commit
62c216e
·
verified ·
1 Parent(s): 07aa1b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -3,7 +3,7 @@ import subprocess
3
 
4
  def deblur_image(input_image_path, angle_model_path, length_model_path):
5
  command = [
6
- "python",
7
  "deblur_img.py",
8
  "--image",
9
  input_image_path,
@@ -32,5 +32,4 @@ iface = gr.Interface(
32
  )
33
 
34
  if __name__ == "__main__":
35
- iface.launch()
36
-
 
3
 
4
  def deblur_image(input_image_path, angle_model_path, length_model_path):
5
  command = [
6
+ "python3",
7
  "deblur_img.py",
8
  "--image",
9
  input_image_path,
 
32
  )
33
 
34
  if __name__ == "__main__":
35
+ iface.launch(server_name="0.0.0.0", server_port=7860)