Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ from all_models import models
|
|
4 |
from datetime import datetime
|
5 |
|
6 |
now2 = 0
|
7 |
-
kii="mohawk femboy racecar driver";
|
8 |
|
9 |
|
10 |
def get_current_time():
|
@@ -46,10 +45,10 @@ def gen_fn(model_str, prompt):
|
|
46 |
def make_me():
|
47 |
# with gr.Tab('The Dream'):
|
48 |
with gr.Row():
|
49 |
-
txt_input = gr.Textbox(lines=3,
|
50 |
-
|
51 |
|
52 |
-
gen_button = gr.Button('Generate images
|
53 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=150, height=30)
|
54 |
gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)
|
55 |
gr.HTML("""
|
@@ -91,5 +90,5 @@ with gr.Blocks(css="div.float.svelte-1mwvhlq { position: absolute; top: va
|
|
91 |
|
92 |
|
93 |
|
94 |
-
demo.queue(concurrency_count=
|
95 |
demo.launch()
|
|
|
4 |
from datetime import datetime
|
5 |
|
6 |
now2 = 0
|
|
|
7 |
|
8 |
|
9 |
def get_current_time():
|
|
|
45 |
def make_me():
|
46 |
# with gr.Tab('The Dream'):
|
47 |
with gr.Row():
|
48 |
+
#txt_input = gr.Textbox(lines=3, width=300, max_height=100)
|
49 |
+
txt_input = gr.Textbox(label='Your prompt:', lines=3, width=300, max_height=100)
|
50 |
|
51 |
+
gen_button = gr.Button('Generate images', width=150, height=30)
|
52 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=150, height=30)
|
53 |
gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)
|
54 |
gr.HTML("""
|
|
|
90 |
|
91 |
|
92 |
|
93 |
+
demo.queue(concurrency_count=999)
|
94 |
demo.launch()
|