fffiloni commited on
Commit
f6ef3fd
·
1 Parent(s): b3b34ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,7 +24,7 @@ def infer(prompt):
24
  #print(result)
25
  return result[0]
26
 
27
- prompt_input = gr.Textbox(lines=4)
28
- gallery_output = gr.Image(type='filepath')
29
 
30
- gr.Interface(fn=infer, inputs=[prompt_input], outputs=['text']).queue(max_size=10).launch(enable_queue=True)
 
24
  #print(result)
25
  return result[0]
26
 
27
+ prompt_input = gr.Textbox(lines=4, label="Input Stable Diffusion 1 prompt")
28
+ prompt_output = gr.Textbox(lines=4, label="Converted Stable Diffusion 2 prompt ")
29
 
30
+ gr.Interface(fn=infer, inputs=[prompt_input], outputs=[prompt_output]).queue(max_size=10).launch(enable_queue=True)