Spaces:
Runtime error
Runtime error
Update main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -82,7 +82,7 @@ async def astreamer(generator):
|
|
82 |
|
83 |
|
84 |
@app.get("/query")
|
85 |
-
def process_input(text: str):
|
86 |
if text and len(text.strip()) > 0:
|
87 |
text = text.strip()
|
88 |
streaming_response = session_assistant.ask(text)
|
|
|
82 |
|
83 |
|
84 |
@app.get("/query")
|
85 |
+
async def process_input(text: str):
|
86 |
if text and len(text.strip()) > 0:
|
87 |
text = text.strip()
|
88 |
streaming_response = session_assistant.ask(text)
|