Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
16 |
@st.cache(allow_output_mutation=True)
|
17 |
def get_model():
|
18 |
|
19 |
-
tokenizer =
|
20 |
-
model =
|
21 |
|
22 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln84Paraphrase")
|
23 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln84Paraphrase")
|
|
|
16 |
@st.cache(allow_output_mutation=True)
|
17 |
def get_model():
|
18 |
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln85Paraphrase")
|
20 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln85Paraphrase")
|
21 |
|
22 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln84Paraphrase")
|
23 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln84Paraphrase")
|