misza222 commited on
Commit
ce32175
1 Parent(s): 8e6226a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -9,7 +9,9 @@ def predict(img):
9
  return pred
10
 
11
 
12
- gr.Interface(fn=predict,
13
  inputs=gr.inputs.Image(shape=(512, 512)),
14
  outputs=gr.outputs.Label(),
15
- interpretation="default")
 
 
 
9
  return pred
10
 
11
 
12
+ interface = gr.Interface(fn=predict,
13
  inputs=gr.inputs.Image(shape=(512, 512)),
14
  outputs=gr.outputs.Label(),
15
+ interpretation="default")
16
+
17
+ interface.launch()