phenomenon1981 commited on
Commit
b7092c7
1 Parent(s): 57c0c2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -20,11 +20,7 @@ restart_thread = Thread(target=restart_script_periodically, daemon=True)
20
  restart_thread.start()
21
 
22
  queue = Queue()
23
- queue_threshold = 50
24
-
25
- def get_prompts(prompt_text):
26
- output = text_gen(prompt_text)
27
- return output
28
 
29
  def add_random_noise(prompt, noise_level=0.07):
30
  # Get the percentage of characters to add as noise
@@ -105,6 +101,10 @@ def send_it8(inputs, noise_level, proc1=proc1):
105
  output8 = proc1(prompt_with_noise)
106
  return output8
107
 
 
 
 
 
108
 
109
  with gr.Blocks() as myface:
110
  with gr.Row():
 
20
  restart_thread.start()
21
 
22
  queue = Queue()
23
+ queue_threshold = 15
 
 
 
 
24
 
25
  def add_random_noise(prompt, noise_level=0.07):
26
  # Get the percentage of characters to add as noise
 
101
  output8 = proc1(prompt_with_noise)
102
  return output8
103
 
104
+ def get_prompts(prompt_text):
105
+ output = text_gen(prompt_text)
106
+ return output
107
+
108
 
109
  with gr.Blocks() as myface:
110
  with gr.Row():