tbelvin5969 commited on
Commit
a79f1a4
·
verified ·
1 Parent(s): bd7f4bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,5 +6,4 @@ def predict(image):
6
 
7
  iface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs="text")
8
 
9
- if __name__ == "__main__":
10
- iface.launch()
 
6
 
7
  iface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs="text")
8
 
9
+ iface.launch()