zamborg commited on
Commit
de79882
1 Parent(s): 1cabc83

trying none as an input

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -42,13 +42,10 @@ sub = st.sidebar.selectbox(
42
  )
43
 
44
  st.sidebar.title("Write a Custom Prompt")
45
- cap_prompt = st.text_input(
46
  "Leave this blank for an unbiased caption",
47
- value="This is a photo of"
48
  )
49
- st.write("=====================")
50
- st.write(cap_prompt)
51
- st.write("=====================")
52
 
53
  if st.sidebar.button("Random Sample Image"):
54
  random_image = get_rand_img(sample_images)
 
42
  )
43
 
44
  st.sidebar.title("Write a Custom Prompt")
45
+ cap_prompt = st.sidebar.text_input(
46
  "Leave this blank for an unbiased caption",
47
+ value=None
48
  )
 
 
 
49
 
50
  if st.sidebar.button("Random Sample Image"):
51
  random_image = get_rand_img(sample_images)