Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
4 |
|
5 |
# Load the fine-tuned model and tokenizer
|
6 |
-
model_repo_path = 'sabssag/
|
7 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_repo_path)
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_repo_path)
|
9 |
|
|
|
3 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
4 |
|
5 |
# Load the fine-tuned model and tokenizer
|
6 |
+
model_repo_path = 'sabssag/Code-T5'
|
7 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_repo_path)
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_repo_path)
|
9 |
|