Update app.py
Browse files
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.
|
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'),
|