Spaces:
Sleeping
Sleeping
william4416
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -39,4 +39,4 @@ def generate_response(user_input: str):
|
|
39 |
@app.post("/")
|
40 |
def chat(user_input: UserInput):
|
41 |
response = generate_response(user_input.user_input)
|
42 |
-
return {"response": response}
|
|
|
39 |
@app.post("/")
|
40 |
def chat(user_input: UserInput):
|
41 |
response = generate_response(user_input.user_input)
|
42 |
+
return {"response": response}
|