awacke1 commited on
Commit
6becdd1
·
1 Parent(s): 6a84a00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ df = pd.DataFrame(dataset)
14
  #df = pd.read_csv("images.csv")
15
 
16
  #df['URL'] = df['URL'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(x) + '"/> </a>')
17
- df = df[[ 0, 1,2,3]]
18
 
19
  def display_df():
20
  df_images = df.head(100)
 
14
  #df = pd.read_csv("images.csv")
15
 
16
  #df['URL'] = df['URL'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(x) + '"/> </a>')
17
+ df = df[["TEXT", "URL", "HEIGHT", "WIDTH"]]
18
 
19
  def display_df():
20
  df_images = df.head(100)