gautam-shetty commited on
Commit
9d2fc83
1 Parent(s): 4bb46cf

fix: streamlit code editor

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ from predict import Predict
32
  # st.write(result)
33
 
34
  st.title("jRefactoring")
35
- codeSnippet = st_ace(language = 'java')
 
36
  if st.button('Check'):
37
  if(codeSnippet!=""):
38
  st.text("")
 
32
  # st.write(result)
33
 
34
  st.title("jRefactoring")
35
+ st.subheader("Enter Java Code")
36
+ codeSnippet = st_ace(language = 'java', auto_update = True)
37
  if st.button('Check'):
38
  if(codeSnippet!=""):
39
  st.text("")