sayashi commited on
Commit
f4da48c
1 Parent(s): b875bd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,7 +104,7 @@ if __name__ == '__main__':
104
  gr.Markdown(
105
  '<div align="center">'
106
  f'<a><strong>{title}</strong></a>'
107
- f'<img width="300px" src="file/{cover}">' if cover else ""
108
  '</div>'
109
  )
110
  with gr.Row():
@@ -131,7 +131,7 @@ if __name__ == '__main__':
131
  gr.Markdown(
132
  '<div align="center">'
133
  f'<a><strong>{title}</strong></a>'
134
- f'<img src="file/{cover}">' if cover else ""
135
  '</div>'
136
  )
137
  with gr.Row():
 
104
  gr.Markdown(
105
  '<div align="center">'
106
  f'<a><strong>{title}</strong></a>'
107
+ f'<img style="width:auto;height:300px;" src="file/{cover}">' if cover else ""
108
  '</div>'
109
  )
110
  with gr.Row():
 
131
  gr.Markdown(
132
  '<div align="center">'
133
  f'<a><strong>{title}</strong></a>'
134
+ f'<img style="width:auto;height:300px;" src="file/{cover}">' if cover else ""
135
  '</div>'
136
  )
137
  with gr.Row():