Spaces:
Runtime error
Runtime error
didivarian
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
-
|
|
|
2 |
|
3 |
-
|
|
|
|
1 |
+
# Load model directly
|
2 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("Bin12345/AutoCoder")
|
5 |
+
model = AutoModelForCausalLM.from_pretrained("Bin12345/AutoCoder")
|