wassemgtk commited on
Commit
59cc454
Β·
verified Β·
1 Parent(s): dd19186

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -16
app.py CHANGED
@@ -146,15 +146,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
146
  info="Number of top tokens to consider"
147
  )
148
 
149
- gr.Markdown("---")
150
- gr.Markdown("### πŸ“ Setup Instructions")
151
- gr.Markdown("""
152
- 1. Go to your Space **Settings**
153
- 2. Add these secrets:
154
- - `FIREWORKS_API_KEY`: Your API key
155
- - `SYSTEM_PROMPT`: Custom system prompt
156
- 3. Restart the Space
157
- """)
158
 
159
  # Handle message submission
160
  def respond(message, chat_history, temp, max_tok, top_p_val, top_k_val):
@@ -189,13 +181,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
189
  label="πŸ’‘ Try these examples"
190
  )
191
 
192
- gr.Markdown("""
193
- ---
194
- ### πŸ”’ Privacy & Security
195
- - Your API key is stored securely in Hugging Face Spaces secrets
196
- - System prompt is hidden from users
197
- - All conversations are private to your session
198
- """)
199
 
200
  # Launch the app
201
  if __name__ == "__main__":
 
146
  info="Number of top tokens to consider"
147
  )
148
 
149
+
 
 
 
 
 
 
 
 
150
 
151
  # Handle message submission
152
  def respond(message, chat_history, temp, max_tok, top_p_val, top_k_val):
 
181
  label="πŸ’‘ Try these examples"
182
  )
183
 
184
+
 
 
 
 
 
 
185
 
186
  # Launch the app
187
  if __name__ == "__main__":