Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,12 +19,11 @@ imagine = gr.Interface.load( "models/dreamlike-art/dreamlike-photoreal-2.0" )
|
|
19 |
with gr.Blocks( analytics_enabled=False ) as app:
|
20 |
|
21 |
Prompt = gr.Textbox( label="Prompt" )
|
22 |
-
Prompt2 = gr.Textbox( label="Prompt2" )
|
23 |
Imagine = gr.Button( "Imagine" )
|
24 |
Image = gr.Image()
|
25 |
Info = gr.Markdown( "# [$hyoo_artist](https://artist.hyoo.ru/)" )
|
26 |
|
27 |
-
Imagine.click( imagine, inputs=[ Prompt
|
28 |
|
29 |
app.launch( inline=True )
|
30 |
block.queue( concurrency_count=1 )
|
|
|
19 |
with gr.Blocks( analytics_enabled=False ) as app:
|
20 |
|
21 |
Prompt = gr.Textbox( label="Prompt" )
|
|
|
22 |
Imagine = gr.Button( "Imagine" )
|
23 |
Image = gr.Image()
|
24 |
Info = gr.Markdown( "# [$hyoo_artist](https://artist.hyoo.ru/)" )
|
25 |
|
26 |
+
Imagine.click( imagine, inputs=[ Prompt ], outputs=[ Image ], api_name="imagine" )
|
27 |
|
28 |
app.launch( inline=True )
|
29 |
block.queue( concurrency_count=1 )
|