Spaces:
Build error
Build error
fix: broken cover image - EN
Browse filesFix issue for cover image for english version
app.py
CHANGED
@@ -167,7 +167,7 @@ if __name__ == '__main__':
|
|
167 |
gr.Markdown(
|
168 |
'<div align="center">'
|
169 |
f'<a><strong>{title}</strong></a>'
|
170 |
-
f'<img style="width:auto;height:300px;" src="{
|
171 |
'</div>'
|
172 |
)
|
173 |
with gr.Row():
|
|
|
167 |
gr.Markdown(
|
168 |
'<div align="center">'
|
169 |
f'<a><strong>{title}</strong></a>'
|
170 |
+
f'<img style="width:auto;height:300px;" src="{image_cover}">' if cover else ""
|
171 |
'</div>'
|
172 |
)
|
173 |
with gr.Row():
|