jykoh commited on
Commit
819cc0a
1 Parent(s): c4a54a2

Fix response bug

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 += output + '<br/>'
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)