Update app.py
Browse files
app.py
CHANGED
@@ -35,9 +35,9 @@ def print_bn():
|
|
35 |
|
36 |
def greet(text):
|
37 |
if(text == ''):
|
38 |
-
return 'changing'
|
39 |
pipeline.unet.load_attn_procs('./pytorch_lora_weights.bin')
|
40 |
-
return
|
41 |
else:
|
42 |
return 'pipelining'
|
43 |
images = pipeline(text).images
|
|
|
35 |
|
36 |
def greet(text):
|
37 |
if(text == ''):
|
38 |
+
# return 'changing'
|
39 |
pipeline.unet.load_attn_procs('./pytorch_lora_weights.bin')
|
40 |
+
return 'changed'
|
41 |
else:
|
42 |
return 'pipelining'
|
43 |
images = pipeline(text).images
|