yonatanbitton commited on
Commit
e1cb50e
·
1 Parent(s): e875883

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ df = df.sample(frac=1)
22
  # df['image'] = df['image_url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(
23
  # x) + '"/> </a>')
24
  df['image'] = df['image_url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(
25
- x) + '" width="200"/> </a>')
26
  cols = list(df.columns)
27
  cols.insert(0, cols.pop(cols.index('image')))
28
  df = df.reindex(columns=cols)
 
22
  # df['image'] = df['image_url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(
23
  # x) + '"/> </a>')
24
  df['image'] = df['image_url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(
25
+ x) + '" width="400"/> </a>')
26
  cols = list(df.columns)
27
  cols.insert(0, cols.pop(cols.index('image')))
28
  df = df.reindex(columns=cols)