Spaces:
Paused
Paused
DHRUV SHEKHAWAT
commited on
Commit
·
bcbbd47
1
Parent(s):
f112a04
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ st.subheader("Enter the text you'd like to analyze.")
|
|
48 |
text = st.text_input('Enter word: ') #text is stored in this variable
|
49 |
|
50 |
if option == '1':
|
51 |
-
with open("
|
52 |
text = f.read()
|
53 |
text = text.lower()
|
54 |
words = text.split()
|
|
|
48 |
text = st.text_input('Enter word: ') #text is stored in this variable
|
49 |
|
50 |
if option == '1':
|
51 |
+
with open("data2.txt","r") as f:
|
52 |
text = f.read()
|
53 |
text = text.lower()
|
54 |
words = text.split()
|