Ashrafb commited on
Commit
daf40c8
·
1 Parent(s): 9250613

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -66,7 +66,8 @@ def send_it1(inputs, noise_level, style, proc=proc1):
66
  request_counter += 1
67
  timestamp = f"{time.time()}_{request_counter}"
68
  advanced_options = f"\nStyle: {style}\n"
69
- prompt_with_noise = add_random_noise(inputs, noise_level) + f" - {timestamp}"+ advanced_options
 
70
  while queue.qsize() >= queue_threshold:
71
  time.sleep(2)
72
  queue.put(prompt_with_noise)
 
66
  request_counter += 1
67
  timestamp = f"{time.time()}_{request_counter}"
68
  advanced_options = f"\nStyle: {style}\n"
69
+ negative_prompt =" "
70
+ prompt_with_noise = add_random_noise(inputs, noise_level) + f" - {timestamp}"+ advanced_options +negative_prompt
71
  while queue.qsize() >= queue_threshold:
72
  time.sleep(2)
73
  queue.put(prompt_with_noise)