alexkueck commited on
Commit
c35e3b9
1 Parent(s): 5f41473

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def file_anzeigen(file):
141
  print("ext...............................")
142
  print(ext)
143
  if (ext == "png" or ext == "PNG" or ext == "jgp" or ext == "jepg"):
144
- return gr.Image(width=47, visible=True, interactive = False, height=47, min_width=47, show_label=False, show_share_button=False, show_download_button=False, show_scale = 0.5), file, file
145
  else:
146
  return gr.Image(width=47, visible=True, interactive = False, height=47, min_width=47, show_label=False, show_share_button=False, show_download_button=False, scale = 0.5), "data/file.png", file
147
 
 
141
  print("ext...............................")
142
  print(ext)
143
  if (ext == "png" or ext == "PNG" or ext == "jgp" or ext == "jepg"):
144
+ return gr.Image(width=47, visible=True, interactive = False, height=47, min_width=47, show_label=False, show_share_button=False, show_download_button=False, scale = 0.5), file, file
145
  else:
146
  return gr.Image(width=47, visible=True, interactive = False, height=47, min_width=47, show_label=False, show_share_button=False, show_download_button=False, scale = 0.5), "data/file.png", file
147