Spaces:
Runtime error
Runtime error
Update global_config.py
Browse files- global_config.py +1 -18
global_config.py
CHANGED
|
@@ -50,7 +50,7 @@ class GlobalConfig:
|
|
| 50 |
PPTX_TEMPLATE_FILES = {
|
| 51 |
'Basic': {
|
| 52 |
'file': 'pptx_templates/Blank.pptx',
|
| 53 |
-
'caption': 'A good start
|
| 54 |
},
|
| 55 |
'Minimalist Sales Pitch': {
|
| 56 |
'file': 'pptx_templates/Minimalist_sales_pitch.pptx',
|
|
@@ -66,23 +66,6 @@ class GlobalConfig:
|
|
| 66 |
},
|
| 67 |
}
|
| 68 |
|
| 69 |
-
# This is a long text, so not incorporated as a string in `strings.json`
|
| 70 |
-
CHAT_USAGE_INSTRUCTIONS = (
|
| 71 |
-
'Briefly describe your topic of presentation in the textbox provided below.'
|
| 72 |
-
' For example:\n'
|
| 73 |
-
'- Make a slide deck on AI.'
|
| 74 |
-
'\n\n'
|
| 75 |
-
'Subsequently, you can add follow-up instructions, e.g.:\n'
|
| 76 |
-
'- Can you add a slide on GPUs?'
|
| 77 |
-
'\n\n'
|
| 78 |
-
' You can also ask it to refine any particular slide, e.g.:\n'
|
| 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 |
|
| 88 |
logging.basicConfig(
|
|
|
|
| 50 |
PPTX_TEMPLATE_FILES = {
|
| 51 |
'Basic': {
|
| 52 |
'file': 'pptx_templates/Blank.pptx',
|
| 53 |
+
'caption': 'A good start 🟧'
|
| 54 |
},
|
| 55 |
'Minimalist Sales Pitch': {
|
| 56 |
'file': 'pptx_templates/Minimalist_sales_pitch.pptx',
|
|
|
|
| 66 |
},
|
| 67 |
}
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
|
| 71 |
logging.basicConfig(
|