Spaces:
Runtime error
Runtime error
Commit ·
9391764
1
Parent(s): b84376d
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import gradio as gr
|
|
| 5 |
|
| 6 |
|
| 7 |
# Load the fine-tuned model and tokenizer
|
| 8 |
-
model_path = "
|
| 9 |
model = BartForConditionalGeneration.from_pretrained(model_path)
|
| 10 |
tokenizer = BartTokenizer.from_pretrained(model_path)
|
| 11 |
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
# Load the fine-tuned model and tokenizer
|
| 8 |
+
model_path = "difinative/AIBuddy" # Path to the pretrained fine-tuned model
|
| 9 |
model = BartForConditionalGeneration.from_pretrained(model_path)
|
| 10 |
tokenizer = BartTokenizer.from_pretrained(model_path)
|
| 11 |
|