dhmeltzer commited on
Commit
daa46b8
·
1 Parent(s): 7e36539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 (repository)[https://github.com/david-meltzer/Goodreads-Sentiment-Analysis].")
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
- 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 = {}
 
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 = {}