multimodalart HF staff commited on
Commit
be3e019
1 Parent(s): 8d92190

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -115,16 +115,16 @@ widget:
115
 
116
  {non_author_disclaimer if not is_author else ''}
117
 
118
- ![Image]({downloaded_files["imageName"][0]})
119
 
120
  {info["description"]}
121
 
122
  """
123
  for index, image in enumerate(downloaded_files["imageName"]):
124
  if(index == 1):
125
- content += content + f"## Image examples for the model:\n{![Image]({image})}"
126
  elif(index > 1):
127
- content += content + f"\n{![Image]({image})}"
128
  readme_content += content + "\n"
129
 
130
  with open(f"{folder}/README.md", "w") as file:
 
115
 
116
  {non_author_disclaimer if not is_author else ''}
117
 
118
+ ![Image 0]({downloaded_files["imageName"][0]})
119
 
120
  {info["description"]}
121
 
122
  """
123
  for index, image in enumerate(downloaded_files["imageName"]):
124
  if(index == 1):
125
+ content += content + f"## Image examples for the model:\n![Image {index}]({image})"
126
  elif(index > 1):
127
+ content += content + f"\n![Image {index}]({image})"
128
  readme_content += content + "\n"
129
 
130
  with open(f"{folder}/README.md", "w") as file: