ngcanh commited on
Commit
7c89a5a
·
verified ·
1 Parent(s): ffbbd82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -176,7 +176,7 @@ def main():
176
  if st.button("Grade Proposal"):
177
  if new_file:
178
  result = grade_essay(input = new_file)
179
- # result = result.replace("\n", "")
180
  df = pd.read_json(result)
181
  df = df.T
182
  # Store results in session state
@@ -186,7 +186,7 @@ def main():
186
 
187
  # Display the grading feedback
188
  st.write("Feedback:")
189
- st.dataframe(df)
190
 
191
  st.success("Hoàn thành chấm điểm.")
192
  else:
 
176
  if st.button("Grade Proposal"):
177
  if new_file:
178
  result = grade_essay(input = new_file)
179
+ result = result.replace("\n", "")
180
  df = pd.read_json(result)
181
  df = df.T
182
  # Store results in session state
 
186
 
187
  # Display the grading feedback
188
  st.write("Feedback:")
189
+ # st.dataframe(df)
190
 
191
  st.success("Hoàn thành chấm điểm.")
192
  else: