Spaces:
Build error
Build error
Fix response bug
Browse files
app.py
CHANGED
@@ -129,8 +129,9 @@ def generate_for_prompt(input_text, state, ret_scale_factor, max_num_rets, num_w
|
|
129 |
if output_i > 0:
|
130 |
response += '<br/>'
|
131 |
text_outputs.append(output)
|
|
|
132 |
if len(model_outputs) > 1:
|
133 |
-
response +=
|
134 |
elif type(output) == list:
|
135 |
for image in output:
|
136 |
filename = save_image_to_local(image)
|
|
|
129 |
if output_i > 0:
|
130 |
response += '<br/>'
|
131 |
text_outputs.append(output)
|
132 |
+
response += output
|
133 |
if len(model_outputs) > 1:
|
134 |
+
response += '<br/>'
|
135 |
elif type(output) == list:
|
136 |
for image in output:
|
137 |
filename = save_image_to_local(image)
|