pavan2606 commited on
Commit
8daaae4
β€’
1 Parent(s): 323a1b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +41 -1
app.py CHANGED
@@ -144,9 +144,49 @@ audio_model = gr.Interface(fn=emotion, inputs="textbox", outputs="textbox")
144
 
145
 
146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
 
148
 
149
 
150
- main_model = gr.TabbedInterface([text_model, image_mode,audio_model], ["Text Emotion Recognition", "Image Emotion Recognition" , "Audio Emotion Recognition"])
151
 
152
  main_model.launch()
 
144
 
145
 
146
 
147
+ #Home Page
148
+ HP_title = "Multimodal Sentiment Analysis: Feel the Emotion in Every Pixel, Word, and Sound!"
149
+ HP_description = gr.Markdown(
150
+ """
151
+ ## Hey There! 🌟
152
+ ### Welcome to our spectacular project, Multimodal Sentiment Analysis! πŸš€ Here, we're all about unraveling the emotions tucked away in text, audio, and images. Think of us as your personal emotion whisperers across various platforms!
153
+ ## Why It's So Darn Cool 😎
154
+ Imagine this: understanding emotions unlocks the door to understanding people better. With our project, we're diving headfirst into a pool of sentiments! From heartwarming messages to catchy tunes, and from breathtaking landscapes to hilarious memes, we're decoding it all!
155
+ ## Explore Emotions Effortlessly with Tabs! πŸ“‘
156
+ Navigate through emotions seamlessly with our nifty tabs:
157
+ - **Text Emotion Recognition**: Unravel the emotional rollercoaster hidden in every word!
158
+ - **Image Emotion Recognition**: Peek into the feelings behind every snapshot!
159
+ - **Audio Emotion Recognition**: Tune in to the vibes of emotions with every sound clip!
160
+ ## Meet Our Awesome Models 🌟
161
+ ### 1. Text Emotion Recognition
162
+ This model is your go-to buddy for understanding the emotional vibe in written text! Whether it's a love letter or a tweet storm, our Text Emotion Recognition model has got your back, decrypting emotions like a champ!
163
+ ### 2. Image Emotion Recognition
164
+ Ever wondered what feelings those grins, frowns, and winks in photos convey? Our Image Emotion Recognition model spills the beans! It's like having a personal mood interpreter for every pic you snap!
165
+ ### 3. Audio Emotion Recognition
166
+ Listen up! Our Audio Emotion Recognition model tunes in to the subtle nuances of voice, capturing emotions in every syllable! From giggles to sobs and everything in between, it's your trusty sidekick for decoding the melodies of emotions!
167
+ ## Ready to Dive In? πŸš€
168
+ Getting started with Multimodal Sentiment Analysis is as easy as pie! Grab our user-friendly APIs and libraries, plug in the models for text, image, and audio emotion recognition, and voilΓ ! You'll be swimming in the sea of emotions like a pro in no time!
169
+ ## Meet the Fabulous Team Behind the Magic! 🧠
170
+ Let's give a round of applause to the brilliant minds who made it all happen:
171
+ - **Pavan**: The wordsmith behind the Text Emotion Recognition model, spinning magic with language and algorithms!
172
+ - **Abhiram**: The visionary behind the Image Emotion Recognition model, bringing pixels to life with emotion decoding powers!
173
+ - **Karthik**: The audio maestro shaping the Audio Emotion Recognition model, capturing the symphony of emotions in every sound wave!
174
+ - **Ganesh**: The glue holding it all together, orchestrating the dance of emotions and teamwork!
175
+ """).value
176
+
177
+ def greet(name):
178
+ pass
179
+ home_page=gr.Interface(fn = greet,
180
+ inputs = gr.Textbox(label="Hey there! Ready to spice up your title game? Drop your name, and let's turn it into a giggling sensation!"
181
+ ),
182
+ outputs = None,
183
+ description = HP_descriptiondescription,
184
+ theme='gradio/monochrome',
185
+ title=HP_title,
186
+ allow_flagging='never')
187
 
188
 
189
 
190
+ main_model = gr.TabbedInterface([home_page,text_model, image_mode,audio_model], ["Home Page","Text Emotion Recognition", "Image Emotion Recognition" , "Audio Emotion Recognition"])
191
 
192
  main_model.launch()