Балаганский Никита Николаевич
commited on
Commit
•
ea5bdc0
1
Parent(s):
7ff7323
fixes
Browse files
app.py
CHANGED
@@ -62,8 +62,8 @@ TEXT_PROMPT_LABEL = {
|
|
62 |
}
|
63 |
|
64 |
PROMPT_EXAMPLE = {
|
65 |
-
"English": "
|
66 |
-
"Russian": "
|
67 |
}
|
68 |
|
69 |
WARNING_TEXT = {
|
@@ -211,7 +211,6 @@ def load_sampler(cls_model_name, lm_tokenizer):
|
|
211 |
return sampler
|
212 |
|
213 |
|
214 |
-
@st.cache(suppress_st_warning=True)
|
215 |
def inference(
|
216 |
lm_model_name: str,
|
217 |
cls_model_name: str,
|
|
|
62 |
}
|
63 |
|
64 |
PROMPT_EXAMPLE = {
|
65 |
+
"English": "Hello there",
|
66 |
+
"Russian": "Привет всем"
|
67 |
}
|
68 |
|
69 |
WARNING_TEXT = {
|
|
|
211 |
return sampler
|
212 |
|
213 |
|
|
|
214 |
def inference(
|
215 |
lm_model_name: str,
|
216 |
cls_model_name: str,
|