Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -329,11 +329,11 @@ def inference(prompt, style):
|
|
| 329 |
title = "Stable Diffusion and Textual Inversion"
|
| 330 |
description = "A simple Gradio interface to stylize Stable Diffusion outputs"
|
| 331 |
examples = [['A man sipping wine wearing a spacesuit on the moon', 'Stripes']]
|
| 332 |
-
|
| 333 |
demo = gr.Interface(inference,
|
| 334 |
inputs = [gr.Textbox(label='Prompt'),
|
| 335 |
-
gr.Dropdown(['
|
| 336 |
-
|
| 337 |
],
|
| 338 |
outputs = [
|
| 339 |
gr.Image(label="Stable Diffusion Output"),
|
|
|
|
| 329 |
title = "Stable Diffusion and Textual Inversion"
|
| 330 |
description = "A simple Gradio interface to stylize Stable Diffusion outputs"
|
| 331 |
examples = [['A man sipping wine wearing a spacesuit on the moon', 'Stripes']]
|
| 332 |
+
#['<gartic-phone>', '<hawaiian shirt>','<gp>','<style-spdmn>','<yvmqznrm>']
|
| 333 |
demo = gr.Interface(inference,
|
| 334 |
inputs = [gr.Textbox(label='Prompt'),
|
| 335 |
+
gr.Dropdown(['gartic-phone', 'hawaiian shirt', 'gp', 'style-spdmn', 'yvmqznrm'
|
| 336 |
+
], label='Style')
|
| 337 |
],
|
| 338 |
outputs = [
|
| 339 |
gr.Image(label="Stable Diffusion Output"),
|