hannanrozal commited on
Commit
c27fd93
Β·
1 Parent(s): 9e5b779

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ from diffusers import StableDiffusionImageVariationPipeline
8
 
9
  # Define your `CLIPTextConfig` and `GradioInterface` here
10
 
11
- gr.Interface(...)
12
  gr.launch( share=True)
13
 
14
  def main(
@@ -85,7 +85,7 @@ pipe = StableDiffusionImageVariationPipeline.from_pretrained(
85
  pipe = pipe.to(device)
86
 
87
  # Define inputs
88
- inputs = [
89
  gr.inputs.Image(),
90
  gr.inputs.Slider(0, 25, value=3, step=1, label="Guidance scale"),
91
  gr.inputs.Slider(1, 4, value=1, step=1, label="Number images"),
 
8
 
9
  # Define your `CLIPTextConfig` and `GradioInterface` here
10
 
11
+ gr.Interface(inputs = gr.inputs.Image output = gr.outputs.Gallery)
12
  gr.launch( share=True)
13
 
14
  def main(
 
85
  pipe = pipe.to(device)
86
 
87
  # Define inputs
88
+ inputs = [
89
  gr.inputs.Image(),
90
  gr.inputs.Slider(0, 25, value=3, step=1, label="Guidance scale"),
91
  gr.inputs.Slider(1, 4, value=1, step=1, label="Number images"),