Update app.py
Browse files
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>')
|
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():
|