Skip to content

Repository files navigation

🎥 AIF Movie Project

Welcome to the AIF Movie Project, a web application powered by Gradio and run using Docker. 🚀


🛠️ Execution Instructions

1️⃣ Build the Docker Image 🐳

docker compose build

2️⃣ Run the Container ▶️

docker compose up

3️⃣ Access the Web Application 🌐

The application will be available at:
🔗 http://127.0.0.1:7860/

4️⃣ Test the API

Once the application is running, you can test the system using the two images below:

📌 Image triggering an anomaly ( for genre prediction) 🛑
test1

📌 Image triggering a valid movie result (can be use for genre prediction and recommandation)🎬
110

You can also test the recommandation with description by providing a movie description.
Here is an example: "the adventures of Woody, a cowboy doll who feels threatened when his owner, Andy, receives a new, high-tech action figure—Buzz Lightyear"

ℹ️ Note: The aim of the project is not to be performance-oriented, so:

  • The models are poorly trained, meaning the results may not be accurate. For example, the anomaly detection model rarely triggers an anomaly case. This is why we provide an example to ensure it still works correctly.
  • The feature embedding extraction is based on only 10 dimensions to ensure fast computation.

5️⃣ Stop the Containers 🛑

To stop the application, choose one of the following options:

docker compose down

or press Ctrl+C in the terminal where the container is running.


⚠️ If a "Permission Denied" Error Occurs:

On Linux machines, you may need to run commands with sudo before each bash script. 🔒


📌 Important Notes:

  • Prerequisites: Ensure that Docker and Docker Compose are installed and configured on your machine.
  • 🛠️ Troubleshooting: If issues arise, check your permissions or refer to the official Docker documentation.

🤝 Contributions

We welcome your contributions! Feel free to submit suggestions for improvements or report any issues. 🚀


✨ Thank you for using the AIF Movie Project! Have fun! 🎬

About

projet d'aif sur les film

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages