Балаганский Никита Николаевич commited on
Commit
ea5bdc0
1 Parent(s): 7ff7323
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -62,8 +62,8 @@ TEXT_PROMPT_LABEL = {
62
  }
63
 
64
  PROMPT_EXAMPLE = {
65
- "English": "Our method",
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,