Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ import gradio as gr
|
|
3 |
import torch
|
4 |
import numpy as np
|
5 |
from transformers import AutoTokenizer
|
6 |
-
from
|
7 |
-
from
|
8 |
-
from
|
9 |
|
10 |
import seaborn as sns
|
11 |
import pandas as pd
|
|
|
3 |
import torch
|
4 |
import numpy as np
|
5 |
from transformers import AutoTokenizer
|
6 |
+
from src.modeling.modeling_bert import BertForSequenceClassification
|
7 |
+
from src.modeling.modeling_electra import ElectraForSequenceClassification
|
8 |
+
from src.attention_rollout import AttentionRollout
|
9 |
|
10 |
import seaborn as sns
|
11 |
import pandas as pd
|