SharmaGroups07 commited on
Commit
e2bfa03
·
verified ·
1 Parent(s): 73a88d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -34,3 +34,8 @@ def chat(req: ChatRequest):
34
  stop=["<|end|>"]
35
  )
36
  return {"reply": output["choices"][0]["text"]}
 
 
 
 
 
 
34
  stop=["<|end|>"]
35
  )
36
  return {"reply": output["choices"][0]["text"]}
37
+
38
+ # ⭐ THIS PART WAS MISSING
39
+ if __name__ == "__main__":
40
+ import uvicorn
41
+ uvicorn.run(app, host="0.0.0.0", port=7860)