AMR-KELEG commited on
Commit
c464f06
·
1 Parent(s): 3d081ea

Test the printing to logs feature

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -91,6 +91,10 @@ with tab1:
91
  ax.set_xlabel("ALDi score", color=ORANGE_COLOR)
92
  st.pyplot(fig)
93
 
 
 
 
 
94
  with tab2:
95
  file = st.file_uploader("Upload a file", type=["txt"])
96
  if file is not None:
 
91
  ax.set_xlabel("ALDi score", color=ORANGE_COLOR)
92
  st.pyplot(fig)
93
 
94
+ print(sent)
95
+ with open("logs.txt", "a") as f:
96
+ f.write(sent+"\n")
97
+
98
  with tab2:
99
  file = st.file_uploader("Upload a file", type=["txt"])
100
  if file is not None: