haxerwddle commited on
Commit
5ad47c9
·
1 Parent(s): 9a70e7a

minor change app,py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,4 +62,5 @@ demo = gr.Interface(
62
  description="Upload an image of trash and get the predicted type."
63
  )
64
 
65
- demo.launch(server_name="0.0.0.0", server_port=7860, debug=False)
 
 
62
  description="Upload an image of trash and get the predicted type."
63
  )
64
 
65
+ if __name__ == "__main__":
66
+ demo.launch(debug=False)