jin-nin commited on
Commit
d4abf5b
1 Parent(s): 899d478

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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, Prompt2 ], outputs=[ Image ], api_name="imagine" )
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 )