Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -135,8 +135,8 @@ def infer(ori_prompt):
|
|
135 |
print(f"Your samples are ready and waiting four you here: \nresults/test \nEnjoy.")
|
136 |
return "results/test/"+wav_name+"_0.wav"
|
137 |
|
138 |
-
def my_inference_function(
|
139 |
-
file_path = infer(
|
140 |
return file_path
|
141 |
|
142 |
|
|
|
135 |
print(f"Your samples are ready and waiting four you here: \nresults/test \nEnjoy.")
|
136 |
return "results/test/"+wav_name+"_0.wav"
|
137 |
|
138 |
+
def my_inference_function(text_prompt):
|
139 |
+
file_path = infer(text_prompt)
|
140 |
return file_path
|
141 |
|
142 |
|