Spaces:
Sleeping
Sleeping
Update project description
Browse files
README.md
CHANGED
|
@@ -10,4 +10,30 @@ pinned: false
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# SlideDeck AI
|
| 14 |
+
|
| 15 |
+
We spend a lot of time on creating the slides and organizing our thoughts for any presentation.
|
| 16 |
+
With SlideDeck AI, co-create slide decks on any topic with Generative Artificial Intelligence.
|
| 17 |
+
Describe your topic and let SlideDeck AI generate a PowerPoint slide deck for you—it's as simple as that!
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# Process
|
| 21 |
+
|
| 22 |
+
SlideDeck AI works in the following way:
|
| 23 |
+
|
| 24 |
+
1. Given a topic description, it uses Llama 2 to generate the outline/contents of the slides.
|
| 25 |
+
2. Next, it uses GPT 3.5 to convert the output from the previous step into JSON.
|
| 26 |
+
3. Subsequently, it uses the `python-pptx` library to generate the slides,
|
| 27 |
+
based on the JSON data from the previous step.
|
| 28 |
+
Here, a user can choose from a set of three pre-defined presentation templates.
|
| 29 |
+
4. In addition, it uses Metaphor to fetch Web pages related to the topic.
|
| 30 |
+
5. Finally, it uses Stable Diffusion 2 to generate an image, based on the title and each slide heading.
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
# Local Development
|
| 34 |
+
|
| 35 |
+
SlideDeck AI uses the Clarifai API of LangChain to realize the first two steps.
|
| 36 |
+
It also sends a Web request to Clarifai for the final step.
|
| 37 |
+
To run this project by yourself, you need to provide the `CLARIFAI_PAT` and `METAPHOR_API_KEY` API keys,
|
| 38 |
+
for example, in a `.env` file.
|
| 39 |
+
|