Bingsu commited on
Commit
72cb885
1 Parent(s): 335a9c9

fix: change default value

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, 30, step=1)
52
- learning_rate = st.text_input("Learning rate", "0.005")
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")