Spaces:
Running
Running
Test the printing to logs feature
Browse files
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:
|