yonatanbitton commited on
Commit
d7e216f
·
1 Parent(s): 09cfa96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -19,6 +19,9 @@ df = visit_bench.to_pandas()
19
  print(f"Got {len(df)} items in dataframe")
20
  df = df.sample(frac=1)
21
 
 
 
 
22
  LINES_NUMBER = 20
23
 
24
  def display_df():
 
19
  print(f"Got {len(df)} items in dataframe")
20
  df = df.sample(frac=1)
21
 
22
+ df['image_url'] = df['image_url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(
23
+ x) + '"/> </a>')
24
+
25
  LINES_NUMBER = 20
26
 
27
  def display_df():