Pranjal12345 commited on
Commit
944b0be
·
1 Parent(s): 3fb77c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -74,3 +74,13 @@ def main():
74
  outputs=[output_audio],
75
  )
76
  interface.queue().launch()
 
 
 
 
 
 
 
 
 
 
 
74
  outputs=[output_audio],
75
  )
76
  interface.queue().launch()
77
+
78
+ if __name__ == "__main__":
79
+ tts = TextToSpeech(kv_cache=True, use_deepspeed=True, half=True)
80
+
81
+ with open("Tortoise_TTS_Runs_Scripts.log", "a") as f:
82
+ f.write(
83
+ f"\n\n-------------------------Tortoise TTS Scripts Logs, {datetime.now()}-------------------------\n"
84
+ )
85
+
86
+ main()