MightyOctopus commited on
Commit
eb3deff
·
verified ·
1 Parent(s): 6fa6464

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def convert_and_optimize_code_with_gemini(python):
90
  )
91
 
92
  for chunk in stream:
93
- stream_response = getattr(chunk, "text", None)
94
  if stream_response:
95
  yield stream_response
96
 
 
90
  )
91
 
92
  for chunk in stream:
93
+ stream_response = getattr(chunk, "text", "")
94
  if stream_response:
95
  yield stream_response
96