Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,12 +97,3 @@ if uploaded_file is not None:
|
|
97 |
else:
|
98 |
st.warning("Please upload a text file to classify the keywords.")
|
99 |
|
100 |
-
# زر حفظ النتائج
|
101 |
-
if st.button("Save Results"):
|
102 |
-
with open("shopping_keywords.txt", "w") as f:
|
103 |
-
f.write("\n".join(shopping_words))
|
104 |
-
with open("gaming_keywords.txt", "w") as f:
|
105 |
-
f.write("\n".join(gaming_words))
|
106 |
-
with open("streaming_keywords.txt", "w") as f:
|
107 |
-
f.write("\n".join(streaming_words))
|
108 |
-
st.success("Results saved successfully!")
|
|
|
97 |
else:
|
98 |
st.warning("Please upload a text file to classify the keywords.")
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|