FloydianSound commited on
Commit
695129b
1 Parent(s): 3668fd2

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from PIL import Image
5
 
6
  model_id = 'FloydianSound/Redline_Diffusion_v2-1'
7
- prefix = ''
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
@@ -102,7 +102,7 @@ with gr.Blocks(css=css) as demo:
102
  with gr.Tab("Options"):
103
  with gr.Group():
104
  neg_prompt = gr.Textbox(label="Negative prompt", placeholder="What to exclude from the image")
105
- auto_prefix = gr.Checkbox(label="Prefix styling tokens automatically ()", value=prefix, visible=prefix)
106
 
107
  with gr.Row():
108
  guidance = gr.Slider(label="Guidance scale", value=7.5, maximum=15)
 
4
  from PIL import Image
5
 
6
  model_id = 'FloydianSound/Redline_Diffusion_v2-1'
7
+ prefix = 'redline'
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
 
102
  with gr.Tab("Options"):
103
  with gr.Group():
104
  neg_prompt = gr.Textbox(label="Negative prompt", placeholder="What to exclude from the image")
105
+ auto_prefix = gr.Checkbox(label="Prefix styling tokens automatically (redline)", value=prefix, visible=prefix)
106
 
107
  with gr.Row():
108
  guidance = gr.Slider(label="Guidance scale", value=7.5, maximum=15)