Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
29 |
|
30 |
-
gr.Interface(fn=infer, inputs=[prompt_input], outputs=[
|
|
|
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)
|