ParthSadaria commited on
Commit
d5656a9
·
verified ·
1 Parent(s): f56330e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -70,7 +70,7 @@ def generate_search(query: str, stream: bool = True) -> str:
70
  yield streaming_text
71
 
72
  @app.get("/searchgpt")
73
- async def search_gpt(q: str, stream: Optional[bool] = True):
74
  if not q:
75
  raise HTTPException(status_code=400, detail="Query parameter 'q' is required")
76
 
 
70
  yield streaming_text
71
 
72
  @app.get("/searchgpt")
73
+ async def search_gpt(q: str, stream: Optional[bool] = False):
74
  if not q:
75
  raise HTTPException(status_code=400, detail="Query parameter 'q' is required")
76