fffiloni commited on
Commit
3fe4f3e
·
verified ·
1 Parent(s): 645f8f4

uses user prompt input instead of harcoded exampkes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,7 +49,7 @@ def infer_img2img(prompt, audio_path, desired_strength, progress=gr.Progress(tra
49
 
50
  width_start, width = 0, 160
51
  strength_list = [desired_strength]
52
- prompt = "ambulance siren"
53
  seed = 42
54
 
55
  # Loading
@@ -143,7 +143,7 @@ def infer_inp(prompt, audio_path, mask_start_point, mask_end_point, progress=gr.
143
  pipe = pipe.to(device)
144
 
145
  width_start, width = mask_start_point, mask_end_point-mask_start_point
146
- prompt = "A siren ringing with a vehicle speeding closer"
147
  seed = 42
148
 
149
  # Loading
 
49
 
50
  width_start, width = 0, 160
51
  strength_list = [desired_strength]
52
+ prompt = prompt
53
  seed = 42
54
 
55
  # Loading
 
143
  pipe = pipe.to(device)
144
 
145
  width_start, width = mask_start_point, mask_end_point-mask_start_point
146
+ prompt = prompt
147
  seed = 42
148
 
149
  # Loading