Spaces:
Running
Running
Commit
·
4a7853a
1
Parent(s):
be3e019
Update app.py
Browse files
app.py
CHANGED
@@ -122,9 +122,9 @@ widget:
|
|
122 |
"""
|
123 |
for index, image in enumerate(downloaded_files["imageName"]):
|
124 |
if(index == 1):
|
125 |
-
content +=
|
126 |
elif(index > 1):
|
127 |
-
content +=
|
128 |
readme_content += content + "\n"
|
129 |
|
130 |
with open(f"{folder}/README.md", "w") as file:
|
|
|
122 |
"""
|
123 |
for index, image in enumerate(downloaded_files["imageName"]):
|
124 |
if(index == 1):
|
125 |
+
content += f"## Image examples for the model:\n![Image {index}]({image})"
|
126 |
elif(index > 1):
|
127 |
+
content += f"\n![Image {index}]({image})"
|
128 |
readme_content += content + "\n"
|
129 |
|
130 |
with open(f"{folder}/README.md", "w") as file:
|