jonathanjordan21 commited on
Commit
79fd2ad
1 Parent(s): 21e2e55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def greet_json():
16
  return {"Hello": "World!"}
17
 
18
 
19
- @app.post(/sentiment_score)
20
  async def sentiment_score(text: str):
21
  inputs = sentiment_tokenizer(text[:2500], return_tensors='pt')
22
 
 
16
  return {"Hello": "World!"}
17
 
18
 
19
+ @app.post("/sentiment_score")
20
  async def sentiment_score(text: str):
21
  inputs = sentiment_tokenizer(text[:2500], return_tensors='pt')
22