Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ first = """informal english: corn fields are all across illinois, visible once y
|
|
| 12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 13 |
@st.cache(allow_output_mutation=True)
|
| 14 |
def get_model():
|
| 15 |
-
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
|
| 17 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
|
| 18 |
|
|
|
|
| 12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 13 |
@st.cache(allow_output_mutation=True)
|
| 14 |
def get_model():
|
|
|
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
|
| 16 |
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
|
| 17 |
|