devuxious commited on
Commit
eb8a1d4
1 Parent(s): 542773f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -21
app.py CHANGED
@@ -76,7 +76,7 @@ def _get_icons_list() -> List[str]:
76
 
77
  return ice.get_icons_list()
78
 
79
-
80
  APP_TEXT = _load_strings()
81
 
82
  # Session variables
@@ -104,9 +104,6 @@ def build_ui():
104
 
105
  st.title(APP_TEXT['app_name'])
106
  st.subheader(APP_TEXT['caption'])
107
- st.markdown(
108
- '![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2Fbarunsaha%2Fslide-deck-ai&countColor=%23263759)' # noqa: E501
109
- )
110
 
111
  with st.expander('Usage Policies and Limitations'):
112
  st.text(APP_TEXT['tos'] + '\n\n' + APP_TEXT['tos2'])
@@ -119,23 +116,6 @@ def set_up_chat_ui():
119
  Prepare the chat interface and related functionality.
120
  """
121
 
122
- with st.expander('Usage Instructions'):
123
- st.markdown(GlobalConfig.CHAT_USAGE_INSTRUCTIONS)
124
- st.markdown(
125
- '[SlideDeck AI](https://github.com/barun-saha/slide-deck-ai) is an Open-Source project.' # noqa: E501
126
- ' It is is powered by' # noqa: E501
127
- ' [Mistral-Nemo-Instruct-2407](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407).' # noqa: E501
128
- )
129
-
130
- st.info(
131
- 'If you like SlideDeck AI, please consider leaving a heart ❤️ on the'
132
- ' [Hugging Face Space](https://huggingface.co/spaces/barunsaha/slide-deck-ai/) or'
133
- ' a star ⭐ on [GitHub](https://github.com/barun-saha/slide-deck-ai).'
134
- ' Your [feedback](https://forms.gle/JECFBGhjvSj7moBx9) is appreciated.'
135
- )
136
-
137
- # view_messages = st.expander('View the messages in the session state')
138
-
139
  st.chat_message('ai').write(
140
  random.choice(APP_TEXT['ai_greetings'])
141
  )
 
76
 
77
  return ice.get_icons_list()
78
 
79
+ st.set_page_config(page_title="Maiden | PowerPoint AI")
80
  APP_TEXT = _load_strings()
81
 
82
  # Session variables
 
104
 
105
  st.title(APP_TEXT['app_name'])
106
  st.subheader(APP_TEXT['caption'])
 
 
 
107
 
108
  with st.expander('Usage Policies and Limitations'):
109
  st.text(APP_TEXT['tos'] + '\n\n' + APP_TEXT['tos2'])
 
116
  Prepare the chat interface and related functionality.
117
  """
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  st.chat_message('ai').write(
120
  random.choice(APP_TEXT['ai_greetings'])
121
  )