Spaces:
Build error
Build error
Update main.py
Browse files
main.py
CHANGED
|
@@ -24,6 +24,7 @@ async def predict(text: str):
|
|
| 24 |
api_name="/predict"
|
| 25 |
)
|
| 26 |
print(result)
|
|
|
|
| 27 |
|
| 28 |
# Return the result as a response
|
| 29 |
return {"result": result}
|
|
|
|
| 24 |
api_name="/predict"
|
| 25 |
)
|
| 26 |
print(result)
|
| 27 |
+
|
| 28 |
|
| 29 |
# Return the result as a response
|
| 30 |
return {"result": result}
|