ysharma HF staff commited on
Commit
772fb5d
·
verified ·
1 Parent(s): a67a358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -70,8 +70,7 @@ def stream_gemini_response(user_message: str, messages: list) -> Iterator[list]:
70
  thinking_complete = True
71
  has_response = True
72
  yield messages
73
- time.sleep(0.05) # Small delay for visible streaming
74
-
75
  elif thinking_complete:
76
  # Stream response
77
  response_buffer += current_chunk
 
70
  thinking_complete = True
71
  has_response = True
72
  yield messages
73
+
 
74
  elif thinking_complete:
75
  # Stream response
76
  response_buffer += current_chunk