Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ preprocess = Compose([
|
|
| 39 |
])
|
| 40 |
|
| 41 |
@st.cache_data
|
| 42 |
-
def clip_optimized_latent(text, seed, iterations=25, lr=
|
| 43 |
seed = int(seed)
|
| 44 |
text_input = clip.tokenize([text]).to(device)
|
| 45 |
|
|
|
|
| 39 |
])
|
| 40 |
|
| 41 |
@st.cache_data
|
| 42 |
+
def clip_optimized_latent(text, seed, iterations=25, lr=5e-2):
|
| 43 |
seed = int(seed)
|
| 44 |
text_input = clip.tokenize([text]).to(device)
|
| 45 |
|