pakito312 commited on
Commit
77da021
·
1 Parent(s): 44ab248
Files changed (1) hide show
  1. api.py +0 -3
api.py CHANGED
@@ -100,6 +100,3 @@ def generate(req: GenerateRequest):
100
  "response": output["choices"][0]["text"].strip()
101
  }
102
 
103
- if __name__ == "__main__":
104
- import uvicorn
105
- uvicorn.run(app, host="0.0.0.0", port=7860)
 
100
  "response": output["choices"][0]["text"].strip()
101
  }
102