Spaces:
Running
Running
Update usage instructions and add copyright notice
Browse files- app.py +0 -5
- global_config.py +12 -1
app.py
CHANGED
|
@@ -118,11 +118,6 @@ def set_up_chat_ui():
|
|
| 118 |
|
| 119 |
with st.expander('Usage Instructions'):
|
| 120 |
st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
|
| 121 |
-
st.markdown(
|
| 122 |
-
'[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project.' # noqa: E501
|
| 123 |
-
' It is is powered by' # noqa: E501
|
| 124 |
-
' [Mistral-Nemo-Instruct-2407](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407).' # noqa: E501
|
| 125 |
-
)
|
| 126 |
|
| 127 |
st.info(
|
| 128 |
'If you like SlideDeck AI, please consider leaving a heart ❤️ on the'
|
|
|
|
| 118 |
|
| 119 |
with st.expander('Usage Instructions'):
|
| 120 |
st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
st.info(
|
| 123 |
'If you like SlideDeck AI, please consider leaving a heart ❤️ on the'
|
global_config.py
CHANGED
|
@@ -79,9 +79,20 @@ class GlobalConfig:
|
|
| 79 |
'- Make the slide with title \'Examples of AI\' a bit more descriptive.'
|
| 80 |
'\n\n'
|
| 81 |
'See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.\n\n'
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
' SlideDeck AI does not have access to the Web, apart for searching for images relevant'
|
| 83 |
' to the slides. Photos are added probabilistically; transparency needs to be changed'
|
| 84 |
-
' manually, if required
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
)
|
| 86 |
|
| 87 |
|
|
|
|
| 79 |
'- Make the slide with title \'Examples of AI\' a bit more descriptive.'
|
| 80 |
'\n\n'
|
| 81 |
'See this [demo video](https://youtu.be/QvAKzNKtk9k) for a brief walkthrough.\n\n'
|
| 82 |
+
'Currently, two LLMs are supported. **Mistral 7B Instruct v0.2** is fast and generates'
|
| 83 |
+
' shorter outputs. On the other hand, **Mistral Nemo Instruct 2407** usually generates'
|
| 84 |
+
' longer outputs but can also be slower. If one is not available, choose the other from'
|
| 85 |
+
' the dropdown list.\n\n'
|
| 86 |
' SlideDeck AI does not have access to the Web, apart for searching for images relevant'
|
| 87 |
' to the slides. Photos are added probabilistically; transparency needs to be changed'
|
| 88 |
+
' manually, if required.\n\n'
|
| 89 |
+
'[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project,'
|
| 90 |
+
' released under [MIT license](https://github.com/barun-saha/slide-deck-ai?tab=MIT-1-ov-file#readme).'
|
| 91 |
+
' It is is powered by'
|
| 92 |
+
' [Mistral-Nemo-Instruct-2407](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407)'
|
| 93 |
+
' and [Mistral 7B v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2).\n\n'
|
| 94 |
+
'---\n\n'
|
| 95 |
+
'© Copyright 2023-2024 Barun Saha. All rights reserved.'
|
| 96 |
)
|
| 97 |
|
| 98 |
|