Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -11,4 +11,6 @@ class TextRatingRequest(BaseModel):
|
|
| 11 |
def read_root(text_rating: TextRatingRequest):
|
| 12 |
text = text_rating.text
|
| 13 |
rating = text_rating.rating
|
| 14 |
-
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|
| 11 |
def read_root(text_rating: TextRatingRequest):
|
| 12 |
text = text_rating.text
|
| 13 |
rating = text_rating.rating
|
| 14 |
+
return {"Hello": "World!"}
|
| 15 |
+
|
| 16 |
+
app.mount("/", StaticFiles(directory="static", html=True), name="static")
|