Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def get_model():
|
|
31 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln63Paraphrase")
|
32 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln72Paraphrase")
|
33 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln72Paraphrase")
|
34 |
-
model2 = AutoModelForCausalLM.from_pretrained("
|
35 |
return model, model2, tokenizer
|
36 |
|
37 |
model, model2, tokenizer = get_model()
|
|
|
31 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln63Paraphrase")
|
32 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln72Paraphrase")
|
33 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln72Paraphrase")
|
34 |
+
model2 = AutoModelForCausalLM.from_pretrained("sberbank-ai/mGPT")
|
35 |
return model, model2, tokenizer
|
36 |
|
37 |
model, model2, tokenizer = get_model()
|