Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def txt2img(prompt, guide, steps, temp):
|
|
17 |
image=Image.fromarray(img[0])
|
18 |
return image
|
19 |
|
20 |
-
iface = gr.Interface(fn=txt2img inputs=[
|
21 |
gr.Textbox(label = 'Input Text Prompt'),
|
22 |
gr.Slider(2, 20, value = 9, label = 'Guidence Scale'),
|
23 |
gr.Slider(10, 100, value = 50, step = 1, label = 'Number of Iterations'),
|
|
|
17 |
image=Image.fromarray(img[0])
|
18 |
return image
|
19 |
|
20 |
+
iface = gr.Interface(fn=txt2img, inputs=[
|
21 |
gr.Textbox(label = 'Input Text Prompt'),
|
22 |
gr.Slider(2, 20, value = 9, label = 'Guidence Scale'),
|
23 |
gr.Slider(10, 100, value = 50, step = 1, label = 'Number of Iterations'),
|