CoE197Z-MyAlexa / app.py
alztr2908's picture
remove token in app.py
a461386 verified
raw
history blame
No virus
301 Bytes
import gradio as gr
import os
hf_key = os.getenv("HF_TOKEN")
demo = gr.load("huggingface/facebook/fastspeech2-en-ljspeech",
description="TTS using FastSpeech2",
title="Text to Speech (TTS)",
examples=[["The quick brown fox jumps over the lazy dog."]]
)
demo.launch()