jeremyLE-Ekimetrics commited on
Commit
0d6f308
1 Parent(s): cce7334

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -76,12 +76,12 @@ if "testing" not in st.session_state:
76
 
77
  with col_2:
78
  st.header("TEST THE PROMPT")
 
79
  if st.session_state["testing"]:
80
  im = generate_image(pipe, testing_prompt)
81
  st.session_state["testing"] = False
82
  else:
83
  im = np.zeros([h,w,3])
84
- testing_prompt = st.text_area("Input your testing prompt")
85
  st.session_state["testing"] = st.button("test the prompt")
86
  st.image(im)
87
 
 
76
 
77
  with col_2:
78
  st.header("TEST THE PROMPT")
79
+ testing_prompt = st.text_area("Input your testing prompt")
80
  if st.session_state["testing"]:
81
  im = generate_image(pipe, testing_prompt)
82
  st.session_state["testing"] = False
83
  else:
84
  im = np.zeros([h,w,3])
 
85
  st.session_state["testing"] = st.button("test the prompt")
86
  st.image(im)
87