Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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:
|