Spaces:
Sleeping
Sleeping
File size: 1,861 Bytes
f8e9610 4ae1184 f8e9610 b743a8f e48ea08 b743a8f e48ea08 4ae1184 b743a8f 4ae1184 e48ea08 b743a8f e48ea08 b743a8f 4ae1184 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
---
title: SlideDeck AI
emoji: 🏢
colorFrom: yellow
colorTo: green
sdk: streamlit
sdk_version: 1.26.0
app_file: app.py
pinned: false
license: mit
---
# SlideDeck AI
We spend a lot of time on creating the slides and organizing our thoughts for any presentation.
With SlideDeck AI, co-create slide decks on any topic with Generative Artificial Intelligence.
Describe your topic and let SlideDeck AI generate a PowerPoint slide deck for you—it's as simple as that!
SlideDeck AI is powered by [Mistral 7B Instruct](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1).
Originally, it was built using the Llama 2 API provided by Clarifai.
# Process
SlideDeck AI works in the following way:
1. Given a topic description, it uses Mistral 7B Instruct to generate the outline/contents of the slides.
The output is generated as structured JSON data based on a pre-defined schema.
2. Subsequently, it uses the `python-pptx` library to generate the slides,
based on the JSON data from the previous step.
Here, a user can choose from a set of three pre-defined presentation templates.
3. In addition, it uses Metaphor to fetch Web pages related to the topic.
4. ~~Finally, it uses Stable Diffusion 2 to generate an image, based on the title and each slide heading.~~
# Local Development
SlideDeck AI uses [Mistral 7B Instruct](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1)
via the Hugging Face Inference API.
To run this project by yourself, you need to provide the `HUGGINGFACEHUB_API_TOKEN` and `METAPHOR_API_KEY` API keys,
for example, in a `.env` file. Visit the respective websites to obtain the keys.
# Live Demo
[SlideDeck AI](https://huggingface.co/spaces/barunsaha/slide-deck-ai)
# Award
SlideDeck AI has won the 3rd Place in the [Llama 2 Hackathon with Clarifai](https://lablab.ai/event/llama-2-hackathon-with-clarifai). |