Spaces:
Sleeping
Sleeping
product2204
commited on
Commit
•
fcff35c
1
Parent(s):
8806620
Update app.py
Browse files
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(
|
43 |
-
|
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):
|