Manjushri commited on
Commit
6f025fa
1 Parent(s): 7414872

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def infer(source_img, prompt, guide, steps, seed, Strength):
21
  image = pipe([prompt], init_image=source_image, strength=Strength, guidance_scale=guide, num_inference_steps=steps).images[0]
22
  return image
23
 
24
- gr.Interface(fn=infer, inputs=[gr.Image(source="upload", type="filepath", label="Raw Image. Must Be .png"), gr.Textbox(label = 'Prompt Input Text. <b>77 Token (Keyword or Symbol) Maximum'),
25
  gr.Slider(2, 15, value = 7, label = 'Guidance Scale'),
26
  gr.Slider(1, 25, value = 10, step = 1, label = 'Number of Iterations'),
27
  gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),
 
21
  image = pipe([prompt], init_image=source_image, strength=Strength, guidance_scale=guide, num_inference_steps=steps).images[0]
22
  return image
23
 
24
+ gr.Interface(fn=infer, inputs=[gr.Image(source="upload", type="filepath", label="Raw Image. Must Be .png"), gr.Textbox(label = 'Prompt Input Text. 77 Token (Keyword or Symbol) Maximum'),
25
  gr.Slider(2, 15, value = 7, label = 'Guidance Scale'),
26
  gr.Slider(1, 25, value = 10, step = 1, label = 'Number of Iterations'),
27
  gr.Slider(label = "Seed", minimum = 0, maximum = 987654321987654321, step = 1, randomize = True),