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