Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
d79edb1
1
Parent(s):
c6b8cf6
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,10 @@ def extend_prompt(input):
|
|
9 |
input_prompt = gr.Text(label="Enter the initial prompt")
|
10 |
sd2_output = gr.Text(label="Extended prompt suitable for Stable Diffusion 2")
|
11 |
|
|
|
|
|
|
|
|
|
12 |
demo = gr.Interface(fn=extend_prompt, inputs=input_prompt, outputs=sd2_output)
|
13 |
demo.queue(max_size=10,concurrency_count=20)
|
14 |
demo.launch(enable_queue=True)
|
|
|
9 |
input_prompt = gr.Text(label="Enter the initial prompt")
|
10 |
sd2_output = gr.Text(label="Extended prompt suitable for Stable Diffusion 2")
|
11 |
|
12 |
+
gr.Markdown(""" ## Prompt Extender for SD 2 """)
|
13 |
+
gr.HTML('''<p style="margin-bottom: 10px; font-size: 94%">
|
14 |
+
Enter a main initial idea for a prompt, and the model will generate a prompt suitable for Stable Diffusion 2</p>''')
|
15 |
+
|
16 |
demo = gr.Interface(fn=extend_prompt, inputs=input_prompt, outputs=sd2_output)
|
17 |
demo.queue(max_size=10,concurrency_count=20)
|
18 |
demo.launch(enable_queue=True)
|