Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.22.0
metadata
title: himym-analysis
app_file: app.py
sdk: gradio
sdk_version: 4.36.1
HOW I MET YOUR MOTHER - SERIES ANALYSIS
Overview
The HIMYM Analysis project is a web application designed to analyze themes and character networks in the TV series "How I Met Your Mother" using subtitles or scripts.
This project leverages gradio
for the web interface, allowing users to perform theme classification and generate character networks interactively.
Features
1. Theme Classification (Zero Shot Classifier):
- Input a list of themes.
- Upload subtitles or scripts.
- Visualize the distribution of themes in the series using a bar chart.
2. Character Network:
- Generate and visualize character interaction networks.
- Extract named entities from subtitles or scripts to create character networks.
3. Talk To Barney:
- Ask anything from Barney and the answer is gonna be legend- wait for it, -dary.
Installation
Clone the repository:
git clone https://github.com/iiakshat/himym-analysis.git
cd HIMYM-Analysis
Install the required Python packages:
pip install -r requirements.txt
Usage
To run the application, execute the following command:
python app.py
The web application will launch, and you will be provided with a URL to access the interface.
Contributing
- Fork the repository.
- Create a new branch
(git checkout -b feature-branch)
. - Make your changes and commit them
(git commit -m 'Add some feature')
. - Push to the branch
(git push origin feature-branch)
. - Create a new Pull Request.