Spaces:
Runtime error
Runtime error
charliebaby2023
commited on
Commit
•
26b4194
1
Parent(s):
d6c665c
Update app.py
Browse files
app.py
CHANGED
@@ -44,9 +44,9 @@ def gen_fn(model_str, prompt):
|
|
44 |
|
45 |
def make_me():
|
46 |
with gr.Tab('The Dream'):
|
47 |
-
txt_input = gr.Textbox(label='Your prompt:', lines=4, value=kii)
|
48 |
-
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
49 |
-
stop_button = gr.Button('Stop', variant='secondary', interactive=False)
|
50 |
gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)
|
51 |
gr.HTML("""
|
52 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
@@ -79,5 +79,7 @@ def make_me():
|
|
79 |
with gr.Blocks(css=".toast-wrap {position:absolute!important; bottom:0%!important; top:auto!important; display:none!important; }") as demo:
|
80 |
make_me()
|
81 |
|
|
|
|
|
82 |
demo.queue(concurrency_count=200)
|
83 |
demo.launch()
|
|
|
44 |
|
45 |
def make_me():
|
46 |
with gr.Tab('The Dream'):
|
47 |
+
txt_input = gr.Textbox(label='Your prompt:', lines=4, value=kii)
|
48 |
+
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
49 |
+
stop_button = gr.Button('Stop', variant='secondary', interactive=False)
|
50 |
gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)
|
51 |
gr.HTML("""
|
52 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
|
|
79 |
with gr.Blocks(css=".toast-wrap {position:absolute!important; bottom:0%!important; top:auto!important; display:none!important; }") as demo:
|
80 |
make_me()
|
81 |
|
82 |
+
|
83 |
+
|
84 |
demo.queue(concurrency_count=200)
|
85 |
demo.launch()
|