Spaces:
Runtime error
Runtime error
orangeinpark
commited on
Commit
•
aa2b946
1
Parent(s):
e59cb15
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from transformers import
|
3 |
|
4 |
model_name = 'ainize/kobart-news'
|
5 |
tokenizer = PreTrainedTokenizerFast.from_pretrained(model_name)
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import PreTrainedTokenizerFast, BartForConditionalGeneration
|
3 |
|
4 |
model_name = 'ainize/kobart-news'
|
5 |
tokenizer = PreTrainedTokenizerFast.from_pretrained(model_name)
|