Commit
·
254319a
1
Parent(s):
252a4e1
Update app.py
Browse files
app.py
CHANGED
@@ -326,10 +326,12 @@ description="<p style='text-align: center;'>Textual Inversion in Stable Diffusio
|
|
326 |
gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery", columns=3).style(grid=[2], height="auto")
|
327 |
|
328 |
gr.Interface(fn=inference, inputs=["text",
|
329 |
-
|
|
|
|
|
330 |
outputs = gallery, title = title,
|
331 |
-
examples = [['
|
332 |
#['an oil painting of a goddess',6],
|
333 |
#['a rabbit on the moon', 5 ]
|
334 |
],
|
335 |
-
).launch(debug=True)
|
|
|
326 |
gallery = gr.Gallery(label="Generated images", show_label=True, elem_id="gallery", columns=3).style(grid=[2], height="auto")
|
327 |
|
328 |
gr.Interface(fn=inference, inputs=["text",
|
329 |
+
|
330 |
+
gr.Radio([('<snoopy>',0), ('<boot-mjstyle>',1),('<birb-style>',2),
|
331 |
+
('<pop_art>',3),(' <ronaldo>',4),('<Thumps_up>',5), value = 0, label = 'Style')],
|
332 |
outputs = gallery, title = title,
|
333 |
+
examples = [['a girl playing in snow',0],
|
334 |
#['an oil painting of a goddess',6],
|
335 |
#['a rabbit on the moon', 5 ]
|
336 |
],
|
337 |
+
).launch(debug=True)
|