Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,8 @@ first = """informal english: corn fields are all across illinois, visible once y
|
|
6 |
|
7 |
@st.cache(allow_output_mutation=True)
|
8 |
def get_model():
|
9 |
-
print("hello")
|
10 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln16")
|
11 |
-
print("hello")
|
12 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
|
13 |
-
print("hello")
|
14 |
return model, tokenizer
|
15 |
|
16 |
model, tokenizer = get_model()
|
|
|
6 |
|
7 |
@st.cache(allow_output_mutation=True)
|
8 |
def get_model():
|
|
|
9 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln16")
|
|
|
10 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
|
|
|
11 |
return model, tokenizer
|
12 |
|
13 |
model, tokenizer = get_model()
|