amanuelyh commited on
Commit
4ab2960
·
1 Parent(s): 5e23270

Update README

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +1 -1
README.md CHANGED
@@ -70,7 +70,7 @@ python model.py
70
  To run the app locally and access it via an HTML page:
71
 
72
  ```bash
73
- python app.py
74
  ```
75
 
76
  #### **Option 2: Run as a Streamlit App**
@@ -78,7 +78,7 @@ python app.py
78
  For an interactive Streamlit-based application:
79
 
80
  ```bash
81
- streamlit run streamlit_app.py
82
  ```
83
 
84
  ---
 
70
  To run the app locally and access it via an HTML page:
71
 
72
  ```bash
73
+ python app_flask.py
74
  ```
75
 
76
  #### **Option 2: Run as a Streamlit App**
 
78
  For an interactive Streamlit-based application:
79
 
80
  ```bash
81
+ streamlit run app.py
82
  ```
83
 
84
  ---
app.py CHANGED
@@ -3,7 +3,7 @@ from happytransformer import HappyTextToText, TTSettings
3
 
4
  st.set_page_config(page_title="Grammar Correction Tool", layout="centered")
5
 
6
- checkpoint = "team-writing-assistant/t5-base-c4jfleg"
7
 
8
  @st.cache_resource
9
  def get_happy_text(model_name):
 
3
 
4
  st.set_page_config(page_title="Grammar Correction Tool", layout="centered")
5
 
6
+ checkpoint = "amanuelyh/grammar_correction"
7
 
8
  @st.cache_resource
9
  def get_happy_text(model_name):