Spaces:
Runtime error
Runtime error
nurasaki
commited on
Commit
•
48b5e6e
1
Parent(s):
9609874
gradio_nlp_berta_masked_example: added requeriments.txt
Browse files- app.py +1 -1
- requeriments.txt → requirements.txt +0 -0
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
|
4 |
|
5 |
-
|
6 |
import torch
|
7 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
8 |
from torch.nn.functional import softmax
|
|
|
2 |
import os
|
3 |
|
4 |
|
5 |
+
# https://huggingface.co/docs/hub/spaces-gpus
|
6 |
import torch
|
7 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
8 |
from torch.nn.functional import softmax
|
requeriments.txt → requirements.txt
RENAMED
File without changes
|