Spaces:
Runtime error
Runtime error
Commit
•
5e6effb
1
Parent(s):
bf89172
initialize target embeds and weights
Browse files
app.py
CHANGED
@@ -63,6 +63,7 @@ def run_all(prompt, steps, n_images, weight, clip_guided):
|
|
63 |
|
64 |
if(clip_guided):
|
65 |
prompts = [prompt]
|
|
|
66 |
def parse_prompt(prompt):
|
67 |
if prompt.startswith('http://') or prompt.startswith('https://'):
|
68 |
vals = prompt.rsplit(':', 2)
|
|
|
63 |
|
64 |
if(clip_guided):
|
65 |
prompts = [prompt]
|
66 |
+
target_embeds, weights = [], []
|
67 |
def parse_prompt(prompt):
|
68 |
if prompt.startswith('http://') or prompt.startswith('https://'):
|
69 |
vals = prompt.rsplit(':', 2)
|