Spaces:
Sleeping
Sleeping
LuisAVasquez
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def generate_cloned_voice_audio(text_prompt):
|
|
29 |
print("="*10)
|
30 |
|
31 |
# load voice file
|
32 |
-
history_prompt = "
|
33 |
|
34 |
# keep track of duration
|
35 |
t0 = time.time()
|
@@ -59,7 +59,7 @@ def generate_cloned_voice_audio(text_prompt):
|
|
59 |
########################
|
60 |
|
61 |
def greet(name):
|
62 |
-
if os.path.isfile("
|
63 |
preffix = "Found the voice file"
|
64 |
else:
|
65 |
preffix = "Voice file not found"
|
|
|
29 |
print("="*10)
|
30 |
|
31 |
# load voice file
|
32 |
+
history_prompt = "luisv_voice.npz"
|
33 |
|
34 |
# keep track of duration
|
35 |
t0 = time.time()
|
|
|
59 |
########################
|
60 |
|
61 |
def greet(name):
|
62 |
+
if os.path.isfile("luisv_voice.npz"):
|
63 |
preffix = "Found the voice file"
|
64 |
else:
|
65 |
preffix = "Voice file not found"
|