Spaces:
Runtime error
Runtime error
fix: change default value
Browse files
app.py
CHANGED
@@ -48,8 +48,8 @@ Image.fromarray(img_array).save(img_path)
|
|
48 |
|
49 |
with st.sidebar:
|
50 |
model_name = st.text_input("Model name", "Linaqruf/anything-v3.0")
|
51 |
-
steps = st.slider("Steps", 1, 100,
|
52 |
-
learning_rate = st.text_input("Learning rate", "0.
|
53 |
learning_rate = float(learning_rate)
|
54 |
|
55 |
tokenizer = CLIPTokenizer.from_pretrained(model_name, subfolder="tokenizer")
|
|
|
48 |
|
49 |
with st.sidebar:
|
50 |
model_name = st.text_input("Model name", "Linaqruf/anything-v3.0")
|
51 |
+
steps = st.slider("Steps", 1, 100, value=1, step=1)
|
52 |
+
learning_rate = st.text_input("Learning rate", "0.001")
|
53 |
learning_rate = float(learning_rate)
|
54 |
|
55 |
tokenizer = CLIPTokenizer.from_pretrained(model_name, subfolder="tokenizer")
|