techasad commited on
Commit
e829c4e
1 Parent(s): 2f52afa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def generate_story(scenario):
48
  #text to speech
49
 
50
  def text2speech(message):
51
- API_URL = "https://api-inference.huggingface.co/models/espnet/kan-bayashi_ljspeech_vits"
52
  headers = {"Authorization": "Bearer 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"}
53
  payloads = {
54
  "inputs":message
 
48
  #text to speech
49
 
50
  def text2speech(message):
51
+ API_URL = "https://api-inference.huggingface.co/models/espnet/fastspeech2_conformer"
52
  headers = {"Authorization": "Bearer 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"}
53
  payloads = {
54
  "inputs":message