Spaces:
Runtime error
Runtime error
nurasaki
commited on
Commit
·
9609874
1
Parent(s):
7360456
gradio_nlp_berta_masked_example: added requeriments.txt
Browse files- app.py +3 -2
- requeriments.txt +2 -0
app.py
CHANGED
@@ -5,9 +5,10 @@ import os
|
|
5 |
|
6 |
import torch
|
7 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
8 |
-
import logging
|
9 |
from torch.nn.functional import softmax
|
10 |
-
|
|
|
|
|
11 |
|
12 |
|
13 |
|
|
|
5 |
|
6 |
import torch
|
7 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
|
|
8 |
from torch.nn.functional import softmax
|
9 |
+
|
10 |
+
# import logging
|
11 |
+
# import pandas as pd
|
12 |
|
13 |
|
14 |
|
requeriments.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
transformers
|
2 |
+
torch
|