susanesho commited on
Commit
02bf6a8
1 Parent(s): 863cce8

update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -21,8 +21,9 @@ tokenizer = AutoTokenizer.from_pretrained(model_path)
21
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
22
 
23
 
24
- description = f"""# <h2 style="text-align: center;"> Opinion Orbit Amazon Products Review</h2>
25
- <p style="text-align: center;font-size:15px;"> Input a single review to predict sentiment or multiple from a text file.</p>
 
26
  """
27
 
28
  sample_reviews = [
@@ -124,4 +125,4 @@ with gr.Blocks() as demo:
124
  inputs=file_output,
125
  outputs=plots)
126
 
127
- demo.launch(share=True)
 
21
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
22
 
23
 
24
+ description = f"""# <h2 style="text-align: center;"> EmotiScan Amazon Products Review</h2>
25
+ <p style="text-align: center;font-size:15px;"> (Placeholder description) Analysing Amazon product reviews...
26
+ Input a single review to predict sentiment or multiple from a text file.</p>
27
  """
28
 
29
  sample_reviews = [
 
125
  inputs=file_output,
126
  outputs=plots)
127
 
128
+ demo.launch(share=True)