nroggendorff commited on
Commit
a79f844
1 Parent(s): faed98b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import torch
5
  from diffusers import StableDiffusionXLPipeline
6
 
7
  pipeline = StableDiffusionXLPipeline.from_pretrained(
8
- "stablediffusionapi/epicrealism-xl"#, use_safetensors=True#, variant="fp16"#, torch_dtype=torch.float16
9
  ).to("cuda")
10
 
11
  @spaces.GPU
@@ -16,7 +16,7 @@ with gr.Blocks() as interface:
16
  with gr.Column():
17
  with gr.Row():
18
  with gr.Column():
19
- prompt = gr.Textbox(label="Prompt", info="What do you want?", value="A beautiful landscape, 32k HDR, studio lighting", lines=4, interactive=True)
20
  negative_prompt = gr.Textbox(label="Negative Prompt", info="What do you want to exclude from the image?", value="ugly, low quality", lines=4, interactive=True)
21
  with gr.Column():
22
  generate_button = gr.Button("Generate")
 
5
  from diffusers import StableDiffusionXLPipeline
6
 
7
  pipeline = StableDiffusionXLPipeline.from_pretrained(
8
+ "stablediffusionapi/epicrealism-xl"
9
  ).to("cuda")
10
 
11
  @spaces.GPU
 
16
  with gr.Column():
17
  with gr.Row():
18
  with gr.Column():
19
+ prompt = gr.Textbox(label="Prompt", info="What do you want?", value="A perfectly red apple, 32k HDR, studio lighting", lines=4, interactive=True)
20
  negative_prompt = gr.Textbox(label="Negative Prompt", info="What do you want to exclude from the image?", value="ugly, low quality", lines=4, interactive=True)
21
  with gr.Column():
22
  generate_button = gr.Button("Generate")