Spaces:
Sleeping
Sleeping
Merge branch 'main' of hf.co:spaces/Songyou/LLM-fastAPI
Browse files
main.py
CHANGED
|
@@ -17,8 +17,8 @@ async def read_root():
|
|
| 17 |
@app.post("/submit")
|
| 18 |
async def submit_input(input_data: InputData):
|
| 19 |
# 处理用户输入并返回响应
|
| 20 |
-
|
| 21 |
-
|
| 22 |
return JSONResponse(content={"message": input_data.user_input})
|
| 23 |
|
| 24 |
|
|
|
|
| 17 |
@app.post("/submit")
|
| 18 |
async def submit_input(input_data: InputData):
|
| 19 |
# 处理用户输入并返回响应
|
| 20 |
+
print("input coming")
|
| 21 |
+
print(input_data)
|
| 22 |
return JSONResponse(content={"message": input_data.user_input})
|
| 23 |
|
| 24 |
|