Spaces:
vilarin
/
Running on Zero

vilarin commited on
Commit
3ecce0d
1 Parent(s): c3bdaa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -101,8 +101,6 @@ def generate_image(
101
  text,
102
  image=init_image,
103
  negative_prompt=negative,
104
- width=width,
105
- height=height,
106
  guidance_scale=scale,
107
  num_inference_steps=steps,
108
  generator = generator,
@@ -139,7 +137,7 @@ examples = [
139
 
140
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
141
  gr.HTML("<h1><center>SD3M🦄</center></h1>")
142
- gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text/img-to-image generation</center></p>")
143
  with gr.Group():
144
  with gr.Row():
145
  prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', interactive=True, placeholder="Enter prompt,you can upload image.", file_types=['image'], scale=6)
 
101
  text,
102
  image=init_image,
103
  negative_prompt=negative,
 
 
104
  guidance_scale=scale,
105
  num_inference_steps=steps,
106
  generator = generator,
 
137
 
138
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
139
  gr.HTML("<h1><center>SD3M🦄</center></h1>")
140
+ gr.HTML("<p><center><a href='https://huggingface.co/stabilityai/stable-diffusion-3-medium'>sd3m</a> text/img-to-image generation<br>img2img ignore width/height</center></p>")
141
  with gr.Group():
142
  with gr.Row():
143
  prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', interactive=True, placeholder="Enter prompt,you can upload image.", file_types=['image'], scale=6)