Update app.py
Browse files
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,
|
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 |
|