Spaces:
Build error
Build error
Minor typographical changes
Browse files
app.py
CHANGED
@@ -118,7 +118,6 @@ def generate_for_prompt(input_text, state, ret_scale_factor, max_num_rets, num_w
|
|
118 |
filename = save_image_to_local(output)
|
119 |
response += f'<img src="/file={filename}" style="display: inline-block;">'
|
120 |
|
121 |
-
# TODO(jykoh): Persist image inputs.
|
122 |
chat_history = model_inputs + \
|
123 |
[' '.join([s for s in model_outputs if type(s) == str]) + '\n']
|
124 |
# Remove [RET] from outputs.
|
|
|
118 |
filename = save_image_to_local(output)
|
119 |
response += f'<img src="/file={filename}" style="display: inline-block;">'
|
120 |
|
|
|
121 |
chat_history = model_inputs + \
|
122 |
[' '.join([s for s in model_outputs if type(s) == str]) + '\n']
|
123 |
# Remove [RET] from outputs.
|