Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -301,12 +301,12 @@ def inference(prompt, style,seed):
|
|
301 |
|
302 |
title = "Stable Diffusion and Textual Inversion"
|
303 |
description = "A simple Gradio interface to stylize Stable Diffusion outputs"
|
304 |
-
examples = [['Pink Ferrari Car', 'Manga'], ['A man sipping
|
305 |
|
306 |
demo = gr.Interface(inference,
|
307 |
-
inputs = [gr.Textbox(label='Prompt'),
|
308 |
gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon'], label='Style')],
|
309 |
-
|
310 |
outputs = [
|
311 |
gr.Image(label="Stable Diffusion Output"),
|
312 |
],
|
|
|
301 |
|
302 |
title = "Stable Diffusion and Textual Inversion"
|
303 |
description = "A simple Gradio interface to stylize Stable Diffusion outputs"
|
304 |
+
examples = [['Pink Ferrari Car', '24041975','Manga'], ['A man sipping tea wearing a spacesuit on the moon','24041975', 'GTA-5']] # Added valid styles
|
305 |
|
306 |
demo = gr.Interface(inference,
|
307 |
+
inputs = [gr.Textbox(label='Prompt'), gr.Textbox(label='Seed', value='24041975'),
|
308 |
gr.Dropdown(['Dr Strange', 'GTA-5', 'Manga', 'Pokemon'], label='Style')],
|
309 |
+
|
310 |
outputs = [
|
311 |
gr.Image(label="Stable Diffusion Output"),
|
312 |
],
|