Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
"
|
| 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)
|
|
|