Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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):
|