Spaces:
Sleeping
Sleeping
LucasAguetai
commited on
Commit
•
ac14130
1
Parent(s):
c6edb54
test
Browse files
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.
|
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}
|