bstraehle commited on
Commit
3b0d980
1 Parent(s): 771e7eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,7 +62,8 @@ def chat(message, history, openai_api_key):
62
  if len(image_values) > 0:
63
  image_value = f"[https://platform.openai.com/storage/files/{image_values[0]}](https://platform.openai.com/storage/files/{image_values[0]})<br><br>"
64
 
65
- text_value = text_values[0]
 
66
  except Exception as e:
67
  raise gr.Error(e)
68
 
 
62
  if len(image_values) > 0:
63
  image_value = f"[https://platform.openai.com/storage/files/{image_values[0]}](https://platform.openai.com/storage/files/{image_values[0]})<br><br>"
64
 
65
+ for text_value in list(reversed(text_values):
66
+ text_value += f"{text_value}<br><br>"
67
  except Exception as e:
68
  raise gr.Error(e)
69