SHXn3 commited on
Commit
af0a313
·
verified ·
1 Parent(s): 6a12c1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -47,7 +47,8 @@ iface = gr.Interface(
47
  title="MobileNetV2 Classifier",
48
  description="Upload an image to classify it using a custom MobileNetV2 model.",
49
  allow_flagging="never"
50
- ).launch(share=True)
51
 
52
  if __name__ == "__main__":
53
- iface.launch(server_name="0.0.0.0", server_port=7860)
 
 
47
  title="MobileNetV2 Classifier",
48
  description="Upload an image to classify it using a custom MobileNetV2 model.",
49
  allow_flagging="never"
50
+ )
51
 
52
  if __name__ == "__main__":
53
+ iface.launch(server_name="0.0.0.0", server_port=7860)
54
+ # Or use: iface.launch(share=True) if needed