Spaces:
Configuration error
Configuration error
update
Browse files
app.py
CHANGED
@@ -137,7 +137,10 @@ def train(*inputs):
|
|
137 |
prompt = inputs[i+maximum_concepts]
|
138 |
if(prompt == "" or prompt == None):
|
139 |
raise gr.Error("You forgot to define your concept prompt")
|
|
|
|
|
140 |
for j, file_temp in enumerate(files):
|
|
|
141 |
file = Image.open(file_temp.name)
|
142 |
image = pad_image(file)
|
143 |
image = image.resize((512, 512))
|
|
|
137 |
prompt = inputs[i+maximum_concepts]
|
138 |
if(prompt == "" or prompt == None):
|
139 |
raise gr.Error("You forgot to define your concept prompt")
|
140 |
+
print(prompt)
|
141 |
+
print('=='*20)
|
142 |
for j, file_temp in enumerate(files):
|
143 |
+
print(file_temp)
|
144 |
file = Image.open(file_temp.name)
|
145 |
image = pad_image(file)
|
146 |
image = image.resize((512, 512))
|