Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,8 +51,7 @@ if ZERO_GPU:
|
|
51 |
"Colors must be hex values."
|
52 |
)
|
53 |
user = (
|
54 |
-
f"Brief: {prompt}
|
55 |
-
Base: primary={base_primary}, secondary={base_secondary}, accent={base_accent}"
|
56 |
)
|
57 |
out = textgen(sys + "
|
58 |
" + user, max_new_tokens=160, do_sample=True, temperature=0.6)[0][
|
|
|
51 |
"Colors must be hex values."
|
52 |
)
|
53 |
user = (
|
54 |
+
f"Brief: {prompt}\nBase: primary={base_primary}, secondary={base_secondary}, accent={base_accent}"
|
|
|
55 |
)
|
56 |
out = textgen(sys + "
|
57 |
" + user, max_new_tokens=160, do_sample=True, temperature=0.6)[0][
|