Yhhxhfh commited on
Commit
87dce9f
1 Parent(s): 3487d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -396,5 +396,5 @@ async def autocomplete(q: str = Query(..., title='query')):
396
  raise HTTPException(status_code=500, detail="An error occurred while processing your request.")
397
 
398
  if __name__ == '__main__':
399
- port = int(os.getenv("PORT", 443))
400
  uvicorn.run(app=app, host='0.0.0.0', port=port)
 
396
  raise HTTPException(status_code=500, detail="An error occurred while processing your request.")
397
 
398
  if __name__ == '__main__':
399
+ port = int(os.getenv("PORT", 7860))
400
  uvicorn.run(app=app, host='0.0.0.0', port=port)