product2204 commited on
Commit
fcff35c
1 Parent(s): 8806620

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -39,10 +39,8 @@ def generate_voice_from_text(text, query,lang='en'):
39
  return audio_path
40
 
41
 
42
- def save_and_return_file(text):
43
- # Write some text to a file
44
- with open(filename, "w") as file:
45
- file.write(text)
46
 
47
 
48
  def read_script(content):
 
39
  return audio_path
40
 
41
 
42
+ def save_and_return_file(filename):
43
+ print("save",filename)
 
 
44
 
45
 
46
  def read_script(content):