Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, AutoConfig
|
3 |
import numpy as np
|
|
|
1 |
+
pip install diffusers transformers torch numpy scipy gradio datasets
|
2 |
+
pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio===0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
|
3 |
+
|
4 |
import torch
|
5 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer, AutoConfig
|
6 |
import numpy as np
|