Spaces:
Runtime error
Runtime error
Dhruv Diddi
commited on
Commit
·
b36e944
1
Parent(s):
91d5282
update token
Browse files- app.py +1 -1
- requirements.txt +12 -6
app.py
CHANGED
@@ -22,7 +22,7 @@ device = "cuda"
|
|
22 |
#torch.backends.cudnn.benchmark = True
|
23 |
|
24 |
#When running locally, you won`t have access to this, so you can remove this part
|
25 |
-
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token="
|
26 |
word_list = word_list_dataset["train"]['text']
|
27 |
|
28 |
is_gpu_busy = False
|
|
|
22 |
#torch.backends.cudnn.benchmark = True
|
23 |
|
24 |
#When running locally, you won`t have access to this, so you can remove this part
|
25 |
+
word_list_dataset = load_dataset("stabilityai/word-list", data_files="list.txt", use_auth_token="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")
|
26 |
word_list = word_list_dataset["train"]['text']
|
27 |
|
28 |
is_gpu_busy = False
|
requirements.txt
CHANGED
@@ -1,7 +1,13 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
transformers
|
3 |
-
|
4 |
-
ftfy
|
5 |
-
--extra-index-url https://download.pytorch.org/whl/cu113 torch
|
6 |
-
python-dotenv
|
7 |
-
https://gradio-builds.s3.amazonaws.com/queue-disconnect/v3/gradio-3.4b2-py3-none-any.whl
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu113
|
2 |
+
imageio==2.19.5
|
3 |
+
imageio-ffmpeg==0.4.7
|
4 |
+
numpy==1.22.4
|
5 |
+
opencv-python-headless==4.6.0.66
|
6 |
+
torch==1.12.0+cu113
|
7 |
+
torchvision==0.13.0+cu113
|
8 |
+
Pillow
|
9 |
+
scipy
|
10 |
+
scikit-image
|
11 |
+
diffusers==0.3.0
|
12 |
transformers
|
13 |
+
ftfy
|
|
|
|
|
|
|
|