bstraehle commited on
Commit
6ef2c2b
·
verified ·
1 Parent(s): aeaed54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,11 +64,11 @@ def chat(message, history, openai_api_key):
64
 
65
  for text_value in list(reversed(text_values)):
66
  i = i + 1
67
- texts += f"<b>Message {i}:</b><br>{text_value}"
68
 
69
  for image_value in image_values:
70
  i = i + 1
71
- images += f"<b>File {i}:</b><br>[https://platform.openai.com/storage/files/{image_value}](https://platform.openai.com/storage/files/{image_value})"
72
  except Exception as e:
73
  raise gr.Error(e)
74
 
 
64
 
65
  for text_value in list(reversed(text_values)):
66
  i = i + 1
67
+ texts += f"<b>Message {i}:</b><br>{text_value}<br><br>"
68
 
69
  for image_value in image_values:
70
  i = i + 1
71
+ images += f"<b>File {i}:</b><br>[https://platform.openai.com/storage/files/{image_value}](https://platform.openai.com/storage/files/{image_value})<br><br>"
72
  except Exception as e:
73
  raise gr.Error(e)
74