charliebaby2023
commited on
Commit
•
cebd60e
1
Parent(s):
e594368
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,12 @@ import gradio as gr
|
|
2 |
import random
|
3 |
from all_models import models
|
4 |
|
5 |
-
|
6 |
# Function to generate a string with text and a random number
|
7 |
def generate_text_with_random_number():
|
8 |
#random_number = randint(1, 100)
|
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} {
|
11 |
return ki
|
12 |
|
13 |
# Function to process the input and return it (or do some other processing)
|
@@ -67,7 +67,7 @@ with gr.Blocks() as demo:
|
|
67 |
#"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"
|
68 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
69 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
70 |
-
gen_button.click(lambda s: gr.update(interactive = True
|
71 |
gr.HTML(
|
72 |
"""
|
73 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
|
|
2 |
import random
|
3 |
from all_models import models
|
4 |
|
5 |
+
|
6 |
# Function to generate a string with text and a random number
|
7 |
def generate_text_with_random_number():
|
8 |
#random_number = randint(1, 100)
|
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} {random.randint(1,100)}'
|
11 |
return ki
|
12 |
|
13 |
# Function to process the input and return it (or do some other processing)
|
|
|
67 |
#"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"
|
68 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
69 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
70 |
+
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
71 |
gr.HTML(
|
72 |
"""
|
73 |
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|