Manjushri commited on
Commit
dee6aff
1 Parent(s): 27ab155

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def infer(source_img, prompt, steps, seed, Strength):
22
  image = pipe(prompt, image=source_image, strength=Strength, guidance_scale=0.0, num_inference_steps=steps).images[0]
23
  return image
24
 
25
- gr.Interface(fn=infer, inputs=[gr.Image(sources=["upload", "webcam", "clipboard"], type="pil"l, label="Raw Image."),
26
  gr.Textbox(label = 'Prompt Input Text. 77 Token (Keyword or Symbol) Maximum'),
27
  gr.Slider(2, 5, value = 2, step = 1, label = 'Number of Iterations'),
28
  gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),
 
22
  image = pipe(prompt, image=source_image, strength=Strength, guidance_scale=0.0, num_inference_steps=steps).images[0]
23
  return image
24
 
25
+ gr.Interface(fn=infer, inputs=[gr.Image(sources=["upload", "webcam", "clipboard"], type="pil", label="Raw Image."),
26
  gr.Textbox(label = 'Prompt Input Text. 77 Token (Keyword or Symbol) Maximum'),
27
  gr.Slider(2, 5, value = 2, step = 1, label = 'Number of Iterations'),
28
  gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),