Spaces:
Runtime error
Runtime error
added pydantic settinggs
Browse files- app/main.py +3 -0
- requirements.txt +2 -1
app/main.py
CHANGED
|
@@ -166,6 +166,9 @@ def review_action(request: ReviewActionRequest) -> Dict[str, Any]:
|
|
| 166 |
raise HTTPException(status_code=500, detail=str(e))
|
| 167 |
|
| 168 |
|
|
|
|
|
|
|
|
|
|
| 169 |
if __name__ == "__main__":
|
| 170 |
import uvicorn
|
| 171 |
uvicorn.run(app, host="0.0.0.0", port=8000)
|
|
|
|
| 166 |
raise HTTPException(status_code=500, detail=str(e))
|
| 167 |
|
| 168 |
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
|
| 172 |
if __name__ == "__main__":
|
| 173 |
import uvicorn
|
| 174 |
uvicorn.run(app, host="0.0.0.0", port=8000)
|
requirements.txt
CHANGED
|
@@ -10,4 +10,5 @@ SQLAlchemy==2.0.41
|
|
| 10 |
google-auth==2.49.1
|
| 11 |
langgraph-checkpoint-postgres
|
| 12 |
psycopg2-binary==2.9.9
|
| 13 |
-
transformers
|
|
|
|
|
|
| 10 |
google-auth==2.49.1
|
| 11 |
langgraph-checkpoint-postgres
|
| 12 |
psycopg2-binary==2.9.9
|
| 13 |
+
transformers
|
| 14 |
+
pydantic-setting
|