mitulagr2 commited on
Commit
3f857b9
1 Parent(s): 608245a

Update main.py

Browse files
Files changed (1) hide show
  1. 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)