liuhuadai commited on
Commit
ef1f417
1 Parent(s): fb24b38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(prompt_oir):
139
- file_path = infer(prompt_oir)
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