charliebaby2023
commited on
Commit
•
225d490
1
Parent(s):
f01d636
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from random import randint
|
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)
|
@@ -63,7 +63,7 @@ def gen_fn(model_str, prompt):
|
|
63 |
with gr.Blocks() as demo:
|
64 |
with gr.Tab('The Dream'):
|
65 |
fn=process_text,
|
66 |
-
txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=
|
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)
|
|
|
2 |
from random import randint
|
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)
|
|
|
63 |
with gr.Blocks() as demo:
|
64 |
with gr.Tab('The Dream'):
|
65 |
fn=process_text,
|
66 |
+
txt_input = gr.Textbox(label = 'Your prompt:', lines=4, value=generate_text_with_random_number() ).style(container=False,min_width=1200)
|
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)
|