barunsaha commited on
Commit
294b6dd
1 Parent(s): 59502a0

Update usage instructions

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. global_config.py +10 -7
app.py CHANGED
@@ -121,7 +121,7 @@ def set_up_chat_ui():
121
  """
122
 
123
  with st.expander('Usage Instructions'):
124
- st.write(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
125
  st.markdown(
126
  'SlideDeck AI is powered by'
127
  ' [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2)'
 
121
  """
122
 
123
  with st.expander('Usage Instructions'):
124
+ st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
125
  st.markdown(
126
  'SlideDeck AI is powered by'
127
  ' [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2)'
global_config.py CHANGED
@@ -46,14 +46,17 @@ class GlobalConfig:
46
  # This is a long text, so not incorporated as a string in `strings.json`
47
  CHAT_USAGE_INSTRUCTIONS = (
48
  'Briefly describe your topic of presentation in the textbox provided below.'
49
- ' For example, "Make a slide deck on AI." Subsequently, you can add follow-up'
50
- ' instructions, e.g., "Can you add a slide on GPUs?" You can also ask it to refine any'
51
- ' particular slide, e.g., "Make the slide with title \'Examples of AI\' a bit more'
52
- ' descriptive." See this [demo video](https://youtu.be/QvAKzNKtk9k).'
53
- ' As another example, sometimes the formatting of generated Python code can be a bit weird.'
54
- ' You can try it telling, "Split multi-line codes into multiple lines," and hope for a fix.'
55
  '\n\n'
56
- 'SlideDeck AI generates only text content. It does not have access to the Web.'
 
 
 
 
 
 
 
57
  '\n\n'
58
  'If you like SlideDeck AI, please consider leaving a heart ❤️ on the'
59
  ' [Hugging Face Space](https://huggingface.co/spaces/barunsaha/slide-deck-ai/) or'
 
46
  # This is a long text, so not incorporated as a string in `strings.json`
47
  CHAT_USAGE_INSTRUCTIONS = (
48
  'Briefly describe your topic of presentation in the textbox provided below.'
49
+ ' For example:\n'
50
+ '- Make a slide deck on AI.'
 
 
 
 
51
  '\n\n'
52
+ 'Subsequently, you can add follow-up instructions, e.g.:\n'
53
+ '- Can you add a slide on GPUs?'
54
+ '\n\n'
55
+ ' You can also ask it to refine any particular slide, e.g.:\n'
56
+ '- Make the slide with title \'Examples of AI\' a bit more descriptive.'
57
+ '\n\n'
58
+ 'See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.'
59
+ 'SlideDeck AI does not have access to the Web.'
60
  '\n\n'
61
  'If you like SlideDeck AI, please consider leaving a heart ❤️ on the'
62
  ' [Hugging Face Space](https://huggingface.co/spaces/barunsaha/slide-deck-ai/) or'