yonatanbitton commited on
Commit
724bf24
1 Parent(s): d005293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -21,8 +21,11 @@ df = df.sample(frac=1)
21
 
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)
 
21
 
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
+ df['image'] = df['image'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(
27
  x) + '" width="400"/> </a>')
28
+
29
  cols = list(df.columns)
30
  cols.insert(0, cols.pop(cols.index('image')))
31
  df = df.reindex(columns=cols)