DevxAman commited on
Commit
a910edd
·
verified ·
1 Parent(s): 19d63e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -223,6 +223,7 @@ with gr.Blocks(title="📰 News Sentiment Analyzer") as demo:
223
  - **RoBERTa**: Twitter-based sentiment model (negative, neutral, positive)
224
  - **Siebert**: Large-scale sentiment model (negative, positive)
225
  """)
 
226
 
227
  with gr.Row():
228
  with gr.Column(scale=2):
 
223
  - **RoBERTa**: Twitter-based sentiment model (negative, neutral, positive)
224
  - **Siebert**: Large-scale sentiment model (negative, positive)
225
  """)
226
+ gr.api(api_predict, api_name="predict")
227
 
228
  with gr.Row():
229
  with gr.Column(scale=2):