uses user prompt input instead of harcoded exampkes
Browse files
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 =
|
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 =
|
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
|