Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,7 @@ import streamlit as st # this is for web app
|
|
2 |
import nltk # nltk for english words
|
3 |
from nltk.corpus import words # nltk words is to get five letter words
|
4 |
|
5 |
-
st.title("
|
6 |
-
|
7 |
-
# this is to display the image of wordle game
|
8 |
-
st.image("https://www.dexerto.com/wp-content/uploads/2022/01/08/wordle-tweets.jpg.webp")
|
9 |
-
|
10 |
-
# download the english words dictionary
|
11 |
|
12 |
@st.cache # cache the download process
|
13 |
def download():
|
@@ -15,7 +10,6 @@ def download():
|
|
15 |
download()
|
16 |
|
17 |
|
18 |
-
# create a new list with only five letter words
|
19 |
|
20 |
five_letters = [word for word in words.words() if len(word)==5 ]
|
21 |
|
|
|
2 |
import nltk # nltk for english words
|
3 |
from nltk.corpus import words # nltk words is to get five letter words
|
4 |
|
5 |
+
st.title("Word Solver")
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
@st.cache # cache the download process
|
8 |
def download():
|
|
|
10 |
download()
|
11 |
|
12 |
|
|
|
13 |
|
14 |
five_letters = [word for word in words.words() if len(word)==5 ]
|
15 |
|