Spaces:
Runtime error
Runtime error
Commit
·
f98b9ee
1
Parent(s):
2c174d9
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ links = np.load('data.npy', allow_pickle=True)
|
|
22 |
|
23 |
|
24 |
|
25 |
-
def get_html(url_list, height=
|
26 |
html = "<div style='margin-top: 20px; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-evenly'>"
|
27 |
for url in url_list:
|
28 |
html2 = f"<img style='height: {height}px; margin: 5px' src='{escape(url)}'>"
|
|
|
22 |
|
23 |
|
24 |
|
25 |
+
def get_html(url_list, height=150):
|
26 |
html = "<div style='margin-top: 20px; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-evenly'>"
|
27 |
for url in url_list:
|
28 |
html2 = f"<img style='height: {height}px; margin: 5px' src='{escape(url)}'>"
|