RohitBh commited on
Commit
36d2023
1 Parent(s): 5454b46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -6,6 +6,9 @@ from transformers import pipeline
6
  import matplotlib.pyplot as plt
7
  import os
8
  from wordcloud import WordCloud
 
 
 
9
 
10
  # Function to analyze sentiment using the custom Hugging Face pipeline
11
  def analyze_sentiment_hf(text):
 
6
  import matplotlib.pyplot as plt
7
  import os
8
  from wordcloud import WordCloud
9
+ import gradio as gr
10
+
11
+ gr.load("models/Dmyadav2001/Sentimental-Analysis").launch()
12
 
13
  # Function to analyze sentiment using the custom Hugging Face pipeline
14
  def analyze_sentiment_hf(text):