slide-deck-ai / app.py

Commit History

Allow users to provide their own HF access token/API key
69fbdcb

barunsaha commited on

Update usage instructions and add copyright notice
16f6869

barunsaha commited on

Update some of the error messages
528a9bd

barunsaha commited on

Allow users to choose from two different Mistral models
813ce6e

barunsaha commited on

Remove the list of icons names provided with the prompts
47f61b3

barunsaha commited on

Update the progress bar's increment
7bd7f55

barunsaha commited on

Fix #44: show helpful error message when the token count exceeds
8953d62

barunsaha commited on

Add more exception handling
e9617d4

barunsaha commited on

Add feedback link and refactor some code
4d7e0d8

barunsaha commited on

Fix #31: find & use similar icons when non-existing icon names are generated by the LLM
ed77618

barunsaha commited on

Fix #29: improve JSON handling and keys
c1acf68

barunsaha commited on

Update the prompts
815286a

barunsaha commited on

Add a slide with icons
e611c5a

barunsaha commited on

Use LangChain to get streaming response from the LLM; update progress bar to display the current status
b5434b8

barunsaha commited on

Update app's progress display
f809d41

barunsaha commited on

Update description
85a7fa9

barunsaha commited on

Update usage instructions
294b6dd

barunsaha commited on

Update app
a4f248d

barunsaha commited on

Fix problems with prior commits
e065b20

barunsaha commited on

Display visitors count badge
76508d0

barunsaha commited on

Move text utility functions to a separate module
57daf6a

barunsaha commited on

Update JSON cleaning logic and logs
abd7b16

barunsaha commited on

Update logs
6e4a820

barunsaha commited on

Close temp files after opening
1189403

barunsaha commited on

Rename new chat app and legacy app files
2605d55

barunsaha commited on

Reorganize files and set logging format globally
9c0dccd

barunsaha commited on

Fix issue 5: remove unused code and packages
08aca02

barunsaha commited on

Fix (some) Pylint warning & remove some unused code
ae312d0

barunsaha commited on

Upgrade to Mistral-7B-Instruct-v0.2
1d82a0b

barunsaha commited on

Enable debug messages
469fc38

barunsaha commited on

Update README and messages
e48ea08

barunsaha commited on

Switch to Mistral-7B-Instruct-v0.1; invoke HF API end-point directly
724babe

barunsaha commited on

Use GPT-4 for text generation. Disable image generation.
7b01107

barunsaha commited on

Reduce input size and track submit button state
6b5a020

barunsaha commited on

Increase input size, use Llama 2, and add SDXL image
a1b1576

barunsaha commited on

Use named tempfile to save the presentation
94d93d2

barunsaha commited on

Use a form, a button, and a single LLM call to generate contents in JSON format. Disable image generation.
e55d16a

barunsaha commited on

Add logging; replace all print statements
aa4f694

barunsaha commited on

Compute disk usage
2fcd006

barunsaha commited on

Compute disk usage
9fcc9ee

barunsaha commited on

Add page visitors badge
d65ee1e

barunsaha commited on

Add tip on JSON data deep hierarchy and regeneration; change tip icon
738ec53

barunsaha commited on

Add error message when JSON conversion fails; use empty placeholders to display notice before generating bonus stuff
33d58d5

barunsaha commited on

Add image generated by AI; also bring back the manual step for JSON step, in case a network timeout occurs
8537019

barunsaha commited on

Convert slide contents into JSON automatically without requiring a button click
c8feae1

barunsaha commited on

Cache external API calls
f845b93

barunsaha commited on

Add three presentation templates and remove background colors
c0b5a2b

barunsaha commited on

Add bonus contents (search results on the topic) & mini ToS
c6643c7

barunsaha commited on

Fix progress bar for the slides creation step
af2cdcc

barunsaha commited on

Add code for the first version
3e68ccf

barunsaha commited on