awacke1 commited on
Commit
3cfa6d8
·
1 Parent(s): 4434d96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -7,9 +7,10 @@ df['url'] = df['url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"
7
  #df['width'] = df['width'].apply(lambda x: str(x))
8
  #df['height'] = df['height'].apply(lambda x: str(x))
9
  #df['steps'] = df['steps'].apply(lambda x: str(x))
10
- df['source'] = df['source'].apply(lambda x: str(x))
11
  #df = df[[ 'url', 'prompt', 'seed', 'width', 'height', 'steps', 'source']]
12
- df = df[[ 'url', 'prompt', 'source']]
 
13
 
14
  def display_df():
15
  df_images = df.head()
 
7
  #df['width'] = df['width'].apply(lambda x: str(x))
8
  #df['height'] = df['height'].apply(lambda x: str(x))
9
  #df['steps'] = df['steps'].apply(lambda x: str(x))
10
+ #df['source'] = df['source'].apply(lambda x: str(x))
11
  #df = df[[ 'url', 'prompt', 'seed', 'width', 'height', 'steps', 'source']]
12
+ #df = df[[ 'url', 'prompt', 'source']]
13
+ df = df[[ 'url', 'prompt']]
14
 
15
  def display_df():
16
  df_images = df.head()