barunsaha commited on
Commit
04508ac
·
1 Parent(s): a3eb7e4

Add PDF file usage instructions

Browse files
Files changed (2) hide show
  1. global_config.py +16 -8
  2. strings.json +4 -3
global_config.py CHANGED
@@ -134,15 +134,23 @@ class GlobalConfig:
134
  '\n\n'
135
  'Finally, click on the download button at the bottom to download the slide deck.'
136
  ' See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.\n\n'
137
- 'Remember, the conversational interface is meant to (and will) update yor *initial*'
138
- ' slide deck. If you want to create a new slide deck on a different topic,'
139
- ' start a new chat session by reloading this page.\n\n'
140
- 'Currently, paid or *free-to-use* LLMs from five different providers are supported.'
141
- ' If one is not available, choose the other from the dropdown list. A [summary of'
142
- ' the supported LLMs]('
 
 
 
 
 
 
 
 
143
  'https://github.com/barun-saha/slide-deck-ai/blob/main/README.md#summary-of-the-llms)'
144
- ' is available for reference. SlideDeck AI does **NOT** store your API keys.\n\n'
145
- ' SlideDeck AI does not have access to the Web, apart for searching for images relevant'
146
  ' to the slides. Photos are added probabilistically; transparency needs to be changed'
147
  ' manually, if required.\n\n'
148
  '[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project,'
 
134
  '\n\n'
135
  'Finally, click on the download button at the bottom to download the slide deck.'
136
  ' See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.\n\n'
137
+ 'Remember, the conversational interface is meant to (and will) update yor *initial*/'
138
+ '*previous* slide deck. If you want to create a new slide deck on a different topic,'
139
+ ' start a new chat session by reloading this page.'
140
+ '\n\nSlideDeck AI can algo generate a presentation based on a PDF file. You can upload'
141
+ ' a PDF file using the chat widget. Only a single file and up to max 50 pages will be'
142
+ ' considered. For PDF-based slide deck generation, LLMs with large context windows, such'
143
+ ' as Gemini, GPT, and Mistral-Nemo, are recommended. Note: images from the PDF files will'
144
+ ' not be used.'
145
+ '\n\nAlso, note that the uploaded file might disappear from the page after click.'
146
+ ' You do not need to upload the same file again to continue'
147
+ ' the interaction and refining—the contents of the PDF file will be retained in the'
148
+ ' same interactive session.'
149
+ '\n\nCurrently, paid or *free-to-use* LLMs from five different providers are supported.'
150
+ ' A [summary of the supported LLMs]('
151
  'https://github.com/barun-saha/slide-deck-ai/blob/main/README.md#summary-of-the-llms)'
152
+ ' is available for reference. SlideDeck AI does **NOT** store your API keys.'
153
+ '\n\nSlideDeck AI does not have access to the Web, apart for searching for images relevant'
154
  ' to the slides. Photos are added probabilistically; transparency needs to be changed'
155
  ' manually, if required.\n\n'
156
  '[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project,'
strings.json CHANGED
@@ -25,15 +25,16 @@
25
  "image_info": "Got some more minutes? We are also trying to deliver an AI-generated art on the presentation topic, fresh off the studio, just for you!",
26
  "content_generation_error": "Unfortunately, SlideDeck AI failed to generate any content for you! Please try again later.",
27
  "json_parsing_error": "Unfortunately, SlideDeck AI failed to parse the response from LLM! Please try again by rephrasing the query or refreshing the page.",
28
- "tos": "SlideDeck AI is an experimental prototype, and it has its limitations.\nPlease carefully review any and all AI-generated content.",
29
  "tos2": "By using SlideDeck AI, you agree to fair and responsible usage.\nNo liability assumed by any party.",
30
  "ai_greetings": [
31
  "How may I help you today?",
32
  "Stuck with creating your presentation? Let me help you.",
33
  "Looks like you have a looming deadline. Can I help you get started with your slide deck?",
34
  "Hello! What topic do you have on your mind today?",
35
- "Did you know that SlideDeck AI supports eight LLMs that are free to use and generate contents in different styles? Try them out from the dropdown list."
 
36
  ],
37
- "chat_placeholder": "Write the topic or instructions here",
38
  "like_feedback": "If you like SlideDeck AI, please consider leaving a heart ❤\uFE0F on the [Hugging Face Space](https://huggingface.co/spaces/barunsaha/slide-deck-ai/) or a star ⭐ on [GitHub](https://github.com/barun-saha/slide-deck-ai). Your [feedback](https://forms.gle/JECFBGhjvSj7moBx9) is appreciated."
39
  }
 
25
  "image_info": "Got some more minutes? We are also trying to deliver an AI-generated art on the presentation topic, fresh off the studio, just for you!",
26
  "content_generation_error": "Unfortunately, SlideDeck AI failed to generate any content for you! Please try again later.",
27
  "json_parsing_error": "Unfortunately, SlideDeck AI failed to parse the response from LLM! Please try again by rephrasing the query or refreshing the page.",
28
+ "tos": "SlideDeck AI is an experimental prototype, and it has its limitations.\nAI-generated content may be incorrect. Please carefully review and verify the contents.",
29
  "tos2": "By using SlideDeck AI, you agree to fair and responsible usage.\nNo liability assumed by any party.",
30
  "ai_greetings": [
31
  "How may I help you today?",
32
  "Stuck with creating your presentation? Let me help you.",
33
  "Looks like you have a looming deadline. Can I help you get started with your slide deck?",
34
  "Hello! What topic do you have on your mind today?",
35
+ "Did you know that SlideDeck AI supports eight LLMs that generate contents in different styles?",
36
+ "Did you know that SlideDeck AI can create a presentation based on any uploaded PDF file?"
37
  ],
38
+ "chat_placeholder": "Write the topic or instructions here. You can also upload a PDF file.",
39
  "like_feedback": "If you like SlideDeck AI, please consider leaving a heart ❤\uFE0F on the [Hugging Face Space](https://huggingface.co/spaces/barunsaha/slide-deck-ai/) or a star ⭐ on [GitHub](https://github.com/barun-saha/slide-deck-ai). Your [feedback](https://forms.gle/JECFBGhjvSj7moBx9) is appreciated."
40
  }