Spaces:
Runtime error
Runtime error
Commit
•
6028c08
1
Parent(s):
a42a5ef
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,8 @@ css = '''
|
|
16 |
'''
|
17 |
model_to_load = "multimodalart/sd-fine-tunable"
|
18 |
maximum_concepts = 3
|
19 |
-
|
|
|
20 |
def swap_text(option):
|
21 |
mandatory_liability = "You must have the right to do so and you are liable for the images you use, example:"
|
22 |
if(option == "object"):
|
|
|
16 |
'''
|
17 |
model_to_load = "multimodalart/sd-fine-tunable"
|
18 |
maximum_concepts = 3
|
19 |
+
#Pre download the files even if we don't use it here
|
20 |
+
StableDiffusionPipeline.from_pretrained(model_to_load)
|
21 |
def swap_text(option):
|
22 |
mandatory_liability = "You must have the right to do so and you are liable for the images you use, example:"
|
23 |
if(option == "object"):
|