charliebaby2023
commited on
Commit
•
c469318
1
Parent(s):
89c5f18
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,13 @@ from random import randint
|
|
3 |
from all_models import models
|
4 |
from datetime import datetime
|
5 |
|
|
|
|
|
|
|
6 |
def get_current_time():
|
7 |
now = datetime.now()
|
8 |
-
|
|
|
9 |
kii = "nude femboy sissy with small penis, bound anal sex orgy party, perfect penis, oral sex, threesum, head between thighs, glans inside mouth, cuming from glans"
|
10 |
ki=f'{kii} {current_time}'
|
11 |
return ki
|
@@ -52,7 +56,7 @@ def gen_fn(model_str, prompt):
|
|
52 |
|
53 |
def make_me():
|
54 |
with gr.Tab('The Dream'):
|
55 |
-
txt_input = gr.Textbox(label = 'Your prompt:', lines=4).style(container=False,min_width=1200)
|
56 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
57 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
58 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
|
|
3 |
from all_models import models
|
4 |
from datetime import datetime
|
5 |
|
6 |
+
now2=0
|
7 |
+
|
8 |
+
|
9 |
def get_current_time():
|
10 |
now = datetime.now()
|
11 |
+
now2=now
|
12 |
+
current_time = now2.strftime("%Y-%m-%d %H:%M:%S")
|
13 |
kii = "nude femboy sissy with small penis, bound anal sex orgy party, perfect penis, oral sex, threesum, head between thighs, glans inside mouth, cuming from glans"
|
14 |
ki=f'{kii} {current_time}'
|
15 |
return ki
|
|
|
56 |
|
57 |
def make_me():
|
58 |
with gr.Tab('The Dream'):
|
59 |
+
txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=get_current_time() ).style(container=False,min_width=1200)
|
60 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
61 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
62 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|