acedev003 commited on
Commit
8fa4c94
1 Parent(s): 7916c6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -28,5 +28,7 @@ app = gr.Interface(fn=predict_model, inputs=inimage, outputs=outimage,examples=[
28
  "./assets/examples/bw.jpg",
29
  "./assets/examples/hillbefore.jpg"])
30
 
31
- app.launch()
 
 
32
 
 
28
  "./assets/examples/bw.jpg",
29
  "./assets/examples/hillbefore.jpg"])
30
 
31
+ if __name__ == "__main__":
32
+ app.launch()
33
+
34