showme commited on
Commit
229bd35
·
verified ·
1 Parent(s): 05ce864

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,6 +18,6 @@ async def predict(request: TextRequest):
18
  result = sentiment_model(request.text)
19
  return {"result": result}
20
 
21
- if __name__ == "__main__": 
22
  import uvicorn
23
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
18
  result = sentiment_model(request.text)
19
  return {"result": result}
20
 
21
+ if __name__ == "__main__":
22
  import uvicorn
23
  uvicorn.run(app, host="0.0.0.0", port=7860)