Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -133,8 +133,8 @@ async def main(
|
|
133 |
model = None
|
134 |
onnx_models = detect_onnx_models(models_path)
|
135 |
lan.load_language(speaker)
|
136 |
-
if len(text_input)
|
137 |
-
|
138 |
# speaker_selection = widgets.Dropdown(
|
139 |
# options=[],
|
140 |
# description=f'{lan.translate(lang, "Select speaker")}:',
|
|
|
133 |
model = None
|
134 |
onnx_models = detect_onnx_models(models_path)
|
135 |
lan.load_language(speaker)
|
136 |
+
if len(text_input) == 0:
|
137 |
+
text_input = "1, 2, 3. This is a test. Enter some text to generate."
|
138 |
# speaker_selection = widgets.Dropdown(
|
139 |
# options=[],
|
140 |
# description=f'{lan.translate(lang, "Select speaker")}:',
|