charliebaby2023 commited on
Commit
30e73c8
1 Parent(s): 225d490

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,13 +1,13 @@
1
  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)
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_number}'
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), None, stop_button)
71
  gr.HTML(
72
  """
73
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
 
1
  import gradio as gr
2
+ import random
3
  from all_models import models
4
 
5
+ ii=0
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} {ii}' #random_number}'
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,ii=random.randint(1,100)), None, stop_button)
71
  gr.HTML(
72
  """
73
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">