Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def main():
|
|
14 |
which have been fine-tuned on a dataset of Goodreads book \
|
15 |
reviews, see [here](https://www.kaggle.com/competitions/goodreads-books-reviews-290312/data) for the original dataset. \
|
16 |
These models are deployed on AWS and are accessed using a REST API. To deploy the models we used a combination of AWS Sagemaker, Lambda, and API Gateway.\
|
17 |
-
\n\n To read more about this project and specifically how we cleaned the data and trained the models, see the following GitHub (
|
18 |
|
19 |
|
20 |
AWS_key = st.secrets['AWS-key']
|
@@ -24,9 +24,9 @@ def main():
|
|
24 |
checkpoints['BERT-tiny'] = 'https://055dugvmzl.execute-api.us-east-1.amazonaws.com/beta/'
|
25 |
|
26 |
# User search with default question.
|
27 |
-
user_input = st.text_area("Search box", "I loved the Lord of the Rings trilogy
|
28 |
-
|
29 |
-
|
30 |
|
31 |
|
32 |
convert_dict = {}
|
|
|
14 |
which have been fine-tuned on a dataset of Goodreads book \
|
15 |
reviews, see [here](https://www.kaggle.com/competitions/goodreads-books-reviews-290312/data) for the original dataset. \
|
16 |
These models are deployed on AWS and are accessed using a REST API. To deploy the models we used a combination of AWS Sagemaker, Lambda, and API Gateway.\
|
17 |
+
\n\n To read more about this project and specifically how we cleaned the data and trained the models, see the following GitHub [repository](https://github.com/david-meltzer/Goodreads-Sentiment-Analysis).")
|
18 |
|
19 |
|
20 |
AWS_key = st.secrets['AWS-key']
|
|
|
24 |
checkpoints['BERT-tiny'] = 'https://055dugvmzl.execute-api.us-east-1.amazonaws.com/beta/'
|
25 |
|
26 |
# User search with default question.
|
27 |
+
user_input = st.text_area("Search box", """I loved the Lord of the Rings trilogy.\
|
28 |
+
It is a classic and beautifully written story and J.R.R. Tolkein really made Middle-Earth come to life. \
|
29 |
+
My favorite part of the book though was when the hobbits met Tom Bombadil, it's too bad he was not in the movies.""")
|
30 |
|
31 |
|
32 |
convert_dict = {}
|