Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ except ImportError:
|
|
| 15 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "sentencepiece"])
|
| 16 |
|
| 17 |
# Set the page configuration as the first Streamlit command
|
| 18 |
-
st.set_page_config(page_title="TextTweakAI
|
| 19 |
|
| 20 |
# Load the grammar correction model
|
| 21 |
@st.cache_resource
|
|
@@ -77,7 +77,7 @@ def correct_grammar(input_text, num_return_sequences=2):
|
|
| 77 |
|
| 78 |
# Streamlit app layout
|
| 79 |
def main():
|
| 80 |
-
st.title("📚
|
| 81 |
st.markdown("""
|
| 82 |
Welcome to the **TextTweakAI**! This app is designed to help you improve your writing by detecting and correcting spelling and grammar errors. Simply enter a paragraph below and let the app do the rest. Each section provides unique suggestions to refine your text.
|
| 83 |
""")
|
|
|
|
| 15 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "sentencepiece"])
|
| 16 |
|
| 17 |
# Set the page configuration as the first Streamlit command
|
| 18 |
+
st.set_page_config(page_title="TextTweakAI", layout="wide")
|
| 19 |
|
| 20 |
# Load the grammar correction model
|
| 21 |
@st.cache_resource
|
|
|
|
| 77 |
|
| 78 |
# Streamlit app layout
|
| 79 |
def main():
|
| 80 |
+
st.title("📚TextTweakAI: Your Personalized Spell & Grammar Checker")
|
| 81 |
st.markdown("""
|
| 82 |
Welcome to the **TextTweakAI**! This app is designed to help you improve your writing by detecting and correcting spelling and grammar errors. Simply enter a paragraph below and let the app do the rest. Each section provides unique suggestions to refine your text.
|
| 83 |
""")
|