Spaces:
Runtime error
Runtime error
webapp update 03-07-2022 6:14 pm
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from transformers import BartForConditionalGeneration, BartTokenizer
|
3 |
|
|
|
4 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
|
5 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import BartForConditionalGeneration, BartTokenizer
|
4 |
|
5 |
+
|
6 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
|
7 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
|
8 |
|