Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
3 |
|
4 |
-
model_checkpoint = "Mbilal755/Radiology_Bart"
|
5 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint)
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
3 |
|
4 |
+
model_checkpoint = "Mbilal755/Radiology_Bart"
|
5 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint)
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_checkpoint)
|
7 |
|