Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def main():
|
|
113 |
submit = st.form_submit_button("Process")
|
114 |
if (submit):
|
115 |
|
116 |
-
tokens = [t+str(v) for t, v in zip(aug_tok, user_values)]
|
117 |
output, words = full_pipeline(input_sentence, simpl_model, simpl_tok, tokens)
|
118 |
|
119 |
c1, c2 = st.columns([1,2])
|
|
|
113 |
submit = st.form_submit_button("Process")
|
114 |
if (submit):
|
115 |
|
116 |
+
tokens = " ".join([t+str(v) for t, v in zip(aug_tok, user_values)]) + " "
|
117 |
output, words = full_pipeline(input_sentence, simpl_model, simpl_tok, tokens)
|
118 |
|
119 |
c1, c2 = st.columns([1,2])
|