MHamzaShahid commited on
Commit
c5f0a87
·
verified ·
1 Parent(s): 3a505d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -387,5 +387,7 @@ async def get_classes():
387
  }
388
 
389
  # ============================================================================
390
- # Run with: uvicorn plant_disease_api:app --reload --host 0.0.0.0 --port 8000
391
  # ============================================================================
 
 
 
387
  }
388
 
389
  # ============================================================================
390
+ # Run with: uvicorn plant_disease_api:app --reload --host 0.0.0.0 --port 7860
391
  # ============================================================================
392
+ if __name__ == "__main__":
393
+ demo.launch(server_name="0.0.0.0", server_port=7860)