Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# Requirements.txt
|
2 |
-
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
3 |
from torch import cuda
|
|
|
4 |
import gradio as gr
|
5 |
from utils import convert_ans_to_token, convert_ques_to_token, rotate, convert_token_to_ques, convert_token_to_answer
|
6 |
from modeling import LaTr_for_pretraining, LaTr_for_finetuning, LaTrForVQA
|
|
|
1 |
# Requirements.txt
|
|
|
2 |
from torch import cuda
|
3 |
+
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
4 |
import gradio as gr
|
5 |
from utils import convert_ans_to_token, convert_ques_to_token, rotate, convert_token_to_ques, convert_token_to_answer
|
6 |
from modeling import LaTr_for_pretraining, LaTr_for_finetuning, LaTrForVQA
|