Spaces:
Runtime error
Runtime error
sonamsherpa
commited on
Commit
•
eafe9e3
1
Parent(s):
27afece
Removed ! from code before pip
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ Original file is located at
|
|
7 |
https://colab.research.google.com/drive/1Thp1MpIDt-AnhXifbSu-AeGQRI8iR3-E
|
8 |
"""
|
9 |
|
10 |
-
|
11 |
|
12 |
import os
|
13 |
import re
|
@@ -27,11 +27,11 @@ seed = 111
|
|
27 |
np.random.seed(seed)
|
28 |
tf.random.set_seed(seed)
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
|
36 |
# Desired image dimensions
|
37 |
image_size = (299, 299)
|
|
|
7 |
https://colab.research.google.com/drive/1Thp1MpIDt-AnhXifbSu-AeGQRI8iR3-E
|
8 |
"""
|
9 |
|
10 |
+
pip install wget
|
11 |
|
12 |
import os
|
13 |
import re
|
|
|
27 |
np.random.seed(seed)
|
28 |
tf.random.set_seed(seed)
|
29 |
|
30 |
+
wget -q https://github.com/jbrownlee/Datasets/releases/download/Flickr8k/Flickr8k_Dataset.zip
|
31 |
+
wget -q https://github.com/jbrownlee/Datasets/releases/download/Flickr8k/Flickr8k_text.zip
|
32 |
+
unzip -qq Flickr8k_Dataset.zip
|
33 |
+
unzip -qq Flickr8k_text.zip
|
34 |
+
rm Flickr8k_Dataset.zip Flickr8k_text.zip
|
35 |
|
36 |
# Desired image dimensions
|
37 |
image_size = (299, 299)
|