Pelden commited on
Commit
79e784a
1 Parent(s): 2eb30ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,5 +19,5 @@ def image_classifier(inp):
19
  return result
20
 
21
  # Creating Gradio interface
22
- if __name__ == "__main__":
23
- gradio_app.launch()
 
19
  return result
20
 
21
  # Creating Gradio interface
22
+ demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
23
+ demo.launch()