chansung commited on
Commit
35f930d
β€’
1 Parent(s): 94c81a2

Update gen/gemini_chat.py

Browse files
Files changed (1) hide show
  1. gen/gemini_chat.py +1 -0
gen/gemini_chat.py CHANGED
@@ -124,6 +124,7 @@ async def gen_text(
124
  )
125
 
126
  async for resp in resps:
 
127
  async for word in _word_generator(resp.text):
128
  yield word + " "
129
 
 
124
  )
125
 
126
  async for resp in resps:
127
+ print(resp.candidate.safety_ratings)
128
  async for word in _word_generator(resp.text):
129
  yield word + " "
130