Update app.py
Browse files
app.py
CHANGED
|
@@ -524,7 +524,7 @@ def inference(prompt, seed, style,num_inference_steps,loss_function):
|
|
| 524 |
|
| 525 |
title = "Stable Diffusion with text input"
|
| 526 |
description = "Apply various stable diffusion styles with text prompt as input"
|
| 527 |
-
examples = [["a hyper-realistic high definition render of bear sitting on a red rug, 4k", 24041975,"Manga"], ["A man dancing on bhutan costume",24041975, "GTA-5"]] # Added valid styles
|
| 528 |
|
| 529 |
demo = gr.Interface(inference,
|
| 530 |
inputs = [gr.Textbox(label='Prompt', value='A man dancing on bhutan costume'), gr.Textbox(label='Seed', value=24041975),
|
|
|
|
| 524 |
|
| 525 |
title = "Stable Diffusion with text input"
|
| 526 |
description = "Apply various stable diffusion styles with text prompt as input"
|
| 527 |
+
examples = [["a hyper-realistic high definition render of bear sitting on a red rug, 4k", 24041975,"Manga", 10,'ymca'], ["A man dancing on bhutan costume",24041975, "GTA-5",10, 'contrast']] # Added valid styles
|
| 528 |
|
| 529 |
demo = gr.Interface(inference,
|
| 530 |
inputs = [gr.Textbox(label='Prompt', value='A man dancing on bhutan costume'), gr.Textbox(label='Seed', value=24041975),
|