aamirtaymoor commited on
Commit
6e815d1
·
verified ·
1 Parent(s): 4e6ae9c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
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")