KingNish commited on
Commit
3530257
·
verified ·
1 Parent(s): ae651c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -178,6 +178,7 @@ def text_to_image(prompt, show_thinking=False, cfg_text_scale=4.0, cfg_interval=
178
  result = {"text": "", "image": None}
179
  # Call inferencer with or without think parameter based on user choice
180
  for i in inferencer(text=prompt, think=show_thinking, **inference_hyper):
 
181
  if type(i) == str:
182
  result["text"] += i
183
  else:
 
178
  result = {"text": "", "image": None}
179
  # Call inferencer with or without think parameter based on user choice
180
  for i in inferencer(text=prompt, think=show_thinking, **inference_hyper):
181
+ print(type(i))
182
  if type(i) == str:
183
  result["text"] += i
184
  else: