LucasAguetai commited on
Commit
ac14130
1 Parent(s): c6edb54
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ async def create_upload_file(context: str, texte: str, model: str):
41
  return {"model": model, "texte": texte, "context": context}
42
 
43
 
44
- @app.get("/withoutFile/")
45
  async def create_upload_file(texte: str, model: str):
46
 
47
  return {"model": model, "texte": texte}
 
41
  return {"model": model, "texte": texte, "context": context}
42
 
43
 
44
+ @app.post("/withoutFile/")
45
  async def create_upload_file(texte: str, model: str):
46
 
47
  return {"model": model, "texte": texte}