awacke1 commited on
Commit
ea26717
1 Parent(s): 5753919

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import pandas as pd
2
  import gradio as gr
3
 
4
  df = pd.read_csv("images.csv")
5
- df['url'] = df['url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(x) + '"/> </a>') #'<img src= "' + str(x) + '"/> </a>')
6
  df = df[[ 'url', 'prompt']]
7
 
8
  def display_df():
 
2
  import gradio as gr
3
 
4
  df = pd.read_csv("images.csv")
5
+ df['url'] = df['url'].apply(lambda x: '<a href= "' + str(x) + '" target="_blank"> <img src= "' + str(x) + '"/> </a>')
6
  df = df[[ 'url', 'prompt']]
7
 
8
  def display_df():