ParthSadaria commited on
Commit
ad8074f
·
verified ·
1 Parent(s): 8d42535

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -815,8 +815,8 @@ if __name__ == "__main__":
815
  uvicorn.run(
816
  app,
817
  host="0.0.0.0",
818
- port=8000,
819
- workers=8, # Multiple workers for better CPU utilization
820
  loop="uvloop", # Use uvloop for faster async operations
821
  http="httptools", # Faster HTTP parsing
822
  log_level="warning", # Reduce logging overhead
 
815
  uvicorn.run(
816
  app,
817
  host="0.0.0.0",
818
+ port=7860,
819
+ workers=4, # Multiple workers for better CPU utilization
820
  loop="uvloop", # Use uvloop for faster async operations
821
  http="httptools", # Faster HTTP parsing
822
  log_level="warning", # Reduce logging overhead