Spaces:
Runtime error
Runtime error
Commit
·
619c74f
1
Parent(s):
62e3c76
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ form.form_submit_button("Generate some Constrained Text!")
|
|
65 |
|
66 |
with st.spinner("Please wait while the model loads:"):
|
67 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
68 |
-
model =
|
69 |
|
70 |
|
71 |
def isPalindrome(s):
|
|
|
65 |
|
66 |
with st.spinner("Please wait while the model loads:"):
|
67 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
68 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
69 |
|
70 |
|
71 |
def isPalindrome(s):
|