Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,10 @@ def require_api_key(func):
|
|
52 |
|
53 |
@app.route('/', methods=["GET", "POST"])
|
54 |
def index():
|
55 |
-
|
|
|
|
|
|
|
56 |
|
57 |
|
58 |
@app.route('/voice/speakers', methods=["GET", "POST"])
|
|
|
52 |
|
53 |
@app.route('/', methods=["GET", "POST"])
|
54 |
def index():
|
55 |
+
kwargs = {
|
56 |
+
"speakers": tts.voice_speakers
|
57 |
+
}
|
58 |
+
return render_template("index.html", **kwargs)
|
59 |
|
60 |
|
61 |
@app.route('/voice/speakers', methods=["GET", "POST"])
|