Spaces:
Build error
Build error
fixed /content
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ variables_url = "https://api.wandb.ai/artifactsV2/gcp-us/buianifolli/QXJ0aWZhY3Q
|
|
91 |
index_url = "https://api.wandb.ai/artifactsV2/gcp-us/buianifolli/QXJ0aWZhY3Q6MjYxMzQ0Mjg=/de6539a7f0909d1dafa89571c7df43d1"
|
92 |
|
93 |
#download model
|
94 |
-
gan_path = "
|
95 |
try:
|
96 |
os.remove(gan_path+"keras_metadata.pb")
|
97 |
os.remove(gan_path+"saved_model.pb")
|
@@ -167,7 +167,7 @@ else:
|
|
167 |
|
168 |
|
169 |
# Take labels and a list of image locations in memory
|
170 |
-
df = pd.read_csv(r"
|
171 |
attr_list = df[LABELS].values.tolist()
|
172 |
|
173 |
def gen_img(attributes):
|
|
|
91 |
index_url = "https://api.wandb.ai/artifactsV2/gcp-us/buianifolli/QXJ0aWZhY3Q6MjYxMzQ0Mjg=/de6539a7f0909d1dafa89571c7df43d1"
|
92 |
|
93 |
#download model
|
94 |
+
gan_path = "content/gan_model/"
|
95 |
try:
|
96 |
os.remove(gan_path+"keras_metadata.pb")
|
97 |
os.remove(gan_path+"saved_model.pb")
|
|
|
167 |
|
168 |
|
169 |
# Take labels and a list of image locations in memory
|
170 |
+
df = pd.read_csv(r"content/celeba_gan/list_attr_celeba01.csv")
|
171 |
attr_list = df[LABELS].values.tolist()
|
172 |
|
173 |
def gen_img(attributes):
|