Update app.py
Browse files
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)
|