jhlfrfufyfn commited on
Commit
fc985f9
1 Parent(s): 9352706

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def tts(text: str):
41
  headers={'Content-Type': 'text/plain'})
42
  if response.status_code != 200:
43
  raise Exception(f"Request to fonemizer failed with status code {response.status_code}")
44
- print(response.content.decode('utf-8'))
45
  text = response.text
46
  best_model_path = hf_hub_download(repo_id=REPO_ID, filename="model.pth")
47
  config_path = hf_hub_download(repo_id=REPO_ID, filename="config.json")
 
41
  headers={'Content-Type': 'text/plain'})
42
  if response.status_code != 200:
43
  raise Exception(f"Request to fonemizer failed with status code {response.status_code}")
44
+ print(response.content)
45
  text = response.text
46
  best_model_path = hf_hub_download(repo_id=REPO_ID, filename="model.pth")
47
  config_path = hf_hub_download(repo_id=REPO_ID, filename="config.json")