Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ st.markdown(
|
|
| 31 |
|
| 32 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
| 33 |
happy_tt = get_model(checkpoint)
|
| 34 |
-
annotator = get_annotator("
|
| 35 |
args = TTSettings(num_beams=5, min_length=1, max_length=1024)
|
| 36 |
|
| 37 |
default_text = "A dog is bigger then mouse."
|
|
|
|
| 31 |
|
| 32 |
checkpoint = st.selectbox("Choose model", checkpoints)
|
| 33 |
happy_tt = get_model(checkpoint)
|
| 34 |
+
annotator = get_annotator("en_core_web_sm")
|
| 35 |
args = TTSettings(num_beams=5, min_length=1, max_length=1024)
|
| 36 |
|
| 37 |
default_text = "A dog is bigger then mouse."
|