Update app.py
Browse files1234567891011121353 unmodified lines67686970717273import gradio as grfrom random import randintfrom all_models import models# Function to generate a string with text and a random numberdef generate_text_with_random_number():random_number = randint(1, 100)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"ki=f'{kii} {random_number}'return ki# Function to process the input and return it (or do some other processing)53 unmodified lines#"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"gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)gr.HTML("""<div style="text-align: center; max-width: 1200px; margin: 0 auto;">1234567891011121353 unmodified lines67686970717273import gradio as grimport randomfrom all_models import modelsii=0# Function to generate a string with text and a random numberdef generate_text_with_random_number():random_number = randint(1, 100)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"ki=f'{kii} {ii}' #random_number}'return ki# Function to process the input and return it (or do some other processing)53 unmodified lines#"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"gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)gen_button.click(lambda s: gr.update(interactive = True,ii=random.randint(1,100)), None, stop_button)gr.HTML("""<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
app.py+4-4