Spaces:
Runtime error
Runtime error
Commit
•
8b8ae17
1
Parent(s):
73720f9
modified: app.py
Browse files
app.py
CHANGED
@@ -157,8 +157,7 @@ with gr.Blocks() as demo:
|
|
157 |
msgsview.append((None, msg["content"]))
|
158 |
if canContinue == True:
|
159 |
tts.tts_to_file(nmsg.removeprefix("llama: ").removeprefix("berry: ") , speaker="p243")#f243 m241
|
160 |
-
|
161 |
-
pass
|
162 |
try:
|
163 |
autime = librosa.get_duration("output.wav")
|
164 |
print("\n\n\n\n\n\n")
|
|
|
157 |
msgsview.append((None, msg["content"]))
|
158 |
if canContinue == True:
|
159 |
tts.tts_to_file(nmsg.removeprefix("llama: ").removeprefix("berry: ") , speaker="p243")#f243 m241
|
160 |
+
time.sleep(time.time() - strt - autime)
|
|
|
161 |
try:
|
162 |
autime = librosa.get_duration("output.wav")
|
163 |
print("\n\n\n\n\n\n")
|