Spaces:
Build error
Build error
Update README
Browse files
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
|
| 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
|
| 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 = "
|
| 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):
|