Manjushri commited on
Commit
658a837
1 Parent(s): 685838d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def infer(source_img, prompt, negative_prompt, guide, steps, seed):
25
  image = pipe(prompt, negative_prompt=negative_prompt, image=src, strength=1, guidance_scale=guide, num_inference_steps=steps).images[0]
26
  return image
27
 
28
- gr.Interface(fn=infer, inputs=[gr.Image(type='numpy', interactive=True),
29
  gr.Textbox(label = 'Prompt Input Text. 77 Token (Keyword or Symbol) Maximum'),
30
  gr.Textbox(label='What you Do Not want the AI to generate.'),
31
  gr.Slider(5, 15, value = 10, label = 'Guidance Scale'),
 
25
  image = pipe(prompt, negative_prompt=negative_prompt, image=src, strength=1, guidance_scale=guide, num_inference_steps=steps).images[0]
26
  return image
27
 
28
+ gr.Interface(fn=infer, inputs=[gr.Sketchpad(type='numpy'),
29
  gr.Textbox(label = 'Prompt Input Text. 77 Token (Keyword or Symbol) Maximum'),
30
  gr.Textbox(label='What you Do Not want the AI to generate.'),
31
  gr.Slider(5, 15, value = 10, label = 'Guidance Scale'),