Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def home():
|
|
| 31 |
@app.route('/speak')
|
| 32 |
def speak():
|
| 33 |
text = request.args.get('input', '')
|
| 34 |
-
voice = request.args.get('voice', 'mb-
|
| 35 |
|
| 36 |
if not text:
|
| 37 |
return "Error: Add ?input=Your+Text to the URL", 400
|
|
|
|
| 31 |
@app.route('/speak')
|
| 32 |
def speak():
|
| 33 |
text = request.args.get('input', '')
|
| 34 |
+
voice = request.args.get('voice', 'mb-en1') # Default: MBROLA English
|
| 35 |
|
| 36 |
if not text:
|
| 37 |
return "Error: Add ?input=Your+Text to the URL", 400
|