Simonlob commited on
Commit
002a9c1
1 Parent(s): 7298e06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -13,8 +13,7 @@ from matcha.text import sequence_to_text, text_to_sequence
13
  from matcha.utils.utils import intersperse
14
  import gradio as gr
15
  import requests
16
- import json
17
- from datetime import datetime
18
 
19
 
20
  def download_file(url, save_path):
@@ -58,7 +57,7 @@ def load_vocoder(checkpoint_path, device):
58
 
59
  def process_text(i: int, text: str, device: torch.device):
60
  print(f"[{i}] - Input text: {text}")
61
- log_event(text)
62
  x = torch.tensor(
63
  intersperse(text_to_sequence(text, ["kyrgyz_cleaners"]), 0),
64
  dtype=torch.long,
 
13
  from matcha.utils.utils import intersperse
14
  import gradio as gr
15
  import requests
16
+
 
17
 
18
 
19
  def download_file(url, save_path):
 
57
 
58
  def process_text(i: int, text: str, device: torch.device):
59
  print(f"[{i}] - Input text: {text}")
60
+ # log_event(text)
61
  x = torch.tensor(
62
  intersperse(text_to_sequence(text, ["kyrgyz_cleaners"]), 0),
63
  dtype=torch.long,