Homeskills commited on
Commit
cdeba90
·
1 Parent(s): cb54287

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -48,5 +48,9 @@ t5_exp = T5Generator(model_checkpoint)
48
 
49
  iface = gr.Interface(fn=lambda x: model_predict(preprocess_input(x)),
50
  inputs=[gr.Textbox(label="Input review text here")],
51
- outputs=gr.Textbox(label="Extracted aspects & sentiment"))
 
 
 
 
52
  iface.launch()
 
48
 
49
  iface = gr.Interface(fn=lambda x: model_predict(preprocess_input(x)),
50
  inputs=[gr.Textbox(label="Input review text here")],
51
+ outputs=gr.Textbox(label="Extracted aspects & sentiment"),
52
+ title="Aspect-Based Sentiment Analysis (ABSA)",
53
+ description="This app will take a sample review segment as input and return the extracted aspects and the corresponding sentiments.",
54
+ article="This model is a fine-tuned version of the original SOTA model found here: https://huggingface.co/kevinscaria/joint_tk-instruct-base-def-pos-neg-neut-combined",
55
+ )
56
  iface.launch()