Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,13 @@ import os
|
|
6 |
from PIL import Image
|
7 |
from huggingface_hub import InferenceApi, InferenceClient
|
8 |
from datasets import load_dataset
|
|
|
9 |
|
|
|
10 |
dataset = load_dataset("Gustavosta/Stable-Diffusion-Prompts")
|
11 |
prompt_df = dataset["train"].to_pandas()
|
|
|
|
|
12 |
|
13 |
DEFAULT_MODEL = "stabilityai/stable-diffusion-2-1"
|
14 |
DEFAULT_PROMPT = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
|
|
|
6 |
from PIL import Image
|
7 |
from huggingface_hub import InferenceApi, InferenceClient
|
8 |
from datasets import load_dataset
|
9 |
+
import pandas as pd
|
10 |
|
11 |
+
'''
|
12 |
dataset = load_dataset("Gustavosta/Stable-Diffusion-Prompts")
|
13 |
prompt_df = dataset["train"].to_pandas()
|
14 |
+
'''
|
15 |
+
prompt_df = pd.read_csv("Stable-Diffusion-Prompts.csv")
|
16 |
|
17 |
DEFAULT_MODEL = "stabilityai/stable-diffusion-2-1"
|
18 |
DEFAULT_PROMPT = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
|