Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def translate(text: str, model, tokenizer: PreTrainedTokenizerBase, **kwargs):
|
|
| 48 |
return response
|
| 49 |
|
| 50 |
|
| 51 |
-
st.title("NanoTranslator
|
| 52 |
|
| 53 |
st.sidebar.title("Options")
|
| 54 |
model_choice = st.sidebar.selectbox("Model", list(model_dict.keys()), index=list(model_dict.keys()).index("NanoTranslator-XXL2"))
|
|
|
|
| 48 |
return response
|
| 49 |
|
| 50 |
|
| 51 |
+
st.title("NanoTranslator Demo")
|
| 52 |
|
| 53 |
st.sidebar.title("Options")
|
| 54 |
model_choice = st.sidebar.selectbox("Model", list(model_dict.keys()), index=list(model_dict.keys()).index("NanoTranslator-XXL2"))
|