heysho commited on
Commit
793bf80
·
verified ·
1 Parent(s): e1e5cfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -44,7 +44,8 @@ def generate_from_ai(language, input_task, input_code, input_error):
44
  # Input and button for English requirements
45
  st.subheader('English')
46
  en_input_task = st.text_input(
47
- "Enter the Task, What do you want to do (e.g., Review my code below and correct the mistakes)",
 
48
  key="en_input_task"
49
  )
50
  en_input_code = st.text_area(
@@ -64,6 +65,7 @@ if st.button("Debug", key="en_fixed_code"):
64
  st.subheader('日本語')
65
  ja_input_task = st.text_input(
66
  "タスクの内容、またはしたいことを入力ください。 (例:下記のコードをレビューして修正ください。)",
 
67
  key="ja_input_task"
68
  )
69
  ja_input_code = st.text_area(
@@ -91,4 +93,3 @@ st.markdown(
91
  """,
92
  unsafe_allow_html=True,
93
  )
94
-
 
44
  # Input and button for English requirements
45
  st.subheader('English')
46
  en_input_task = st.text_input(
47
+ "Enter the Task / What do you want to do with your code? (e.g., Review my code below and correct the mistakes)",
48
+ value="Review my code below and correct the mistakes",
49
  key="en_input_task"
50
  )
51
  en_input_code = st.text_area(
 
65
  st.subheader('日本語')
66
  ja_input_task = st.text_input(
67
  "タスクの内容、またはしたいことを入力ください。 (例:下記のコードをレビューして修正ください。)",
68
+ value="下記のコードをレビューして修正ください",
69
  key="ja_input_task"
70
  )
71
  ja_input_code = st.text_area(
 
93
  """,
94
  unsafe_allow_html=True,
95
  )