BigSalmon commited on
Commit
b78cea5
·
1 Parent(s): b4f2d80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
9
  import tokenizers
10
  #os.environ["TOKENIZERS_PARALLELISM"] = "false"
11
  random.seed(None)
12
- first = """informal english: corn fields are all across illinois, visible once you leave chicago.\nTranslated into the Style of Abraham Lincoln: corn fields ( permeate illinois / span the state of illinois / ( occupy / persist in ) all corners of illinois / line the horizon of illinois / envelop the landscape of illinois ), manifesting themselves visibly as one ventures beyond chicago.\ninformal english:"""
13
  suggested_text_list = [first]
14
  @st.cache(hash_funcs={tokenizers.Tokenizer: id, tokenizers.AddedToken: id})
15
  def load_model(model_name):
 
9
  import tokenizers
10
  #os.environ["TOKENIZERS_PARALLELISM"] = "false"
11
  random.seed(None)
12
+ first = """informal english: corn fields are all across illinois, visible once you leave chicago.\nTranslated into the Style of Abraham Lincoln: corn fields ( permeate illinois / span the state of illinois / ( occupy / persist in ) all corners of illinois / line the horizon of illinois / envelop the landscape of illinois ), manifesting themselves visibly as one ventures beyond chicago.\n\ninformal english:"""
13
  suggested_text_list = [first]
14
  @st.cache(hash_funcs={tokenizers.Tokenizer: id, tokenizers.AddedToken: id})
15
  def load_model(model_name):