thesunshine36 commited on
Commit
21fd804
1 Parent(s): bf9a705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ app = FastAPI()
9
 
10
 
11
  # FastAPI
12
- @app.get("/")
13
  def return_api(text: str):
14
  # Get the caption
15
 
 
9
 
10
 
11
  # FastAPI
12
+ @app.post("/")
13
  def return_api(text: str):
14
  # Get the caption
15