timdettmers ybelkada HF staff commited on
Commit
3c1a7bd
1 Parent(s): 9da7f7f

Update app.py (#1)

Browse files

- Update app.py (7310b40db00edc6cdf4e3cbb2d5b7db7298f2b0a)


Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -227,6 +227,21 @@ with gr.Blocks(analytics_enabled=False, css=custom_css) as demo:
227
  outputs=[output],
228
  )
229
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  history = gr.State([])
231
  last_user_message = gr.State("")
232
 
 
227
  outputs=[output],
228
  )
229
 
230
+ with gr.Row():
231
+ gr.Markdown(
232
+ "Disclaimer: The model can produce factually incorrect output, and should not be relied on to produce "
233
+ "factually accurate information. The model was trained on various public datasets; while great efforts "
234
+ "have been taken to clean the pretraining data, it is possible that this model could generate lewd, "
235
+ "biased, or otherwise offensive outputs.",
236
+ elem_classes=["disclaimer"],
237
+ )
238
+ with gr.Row():
239
+ gr.Markdown(
240
+ "[Privacy policy](https://gist.github.com/samhavens/c29c68cdcd420a9aa0202d0839876dac)",
241
+ elem_classes=["disclaimer"],
242
+ )
243
+
244
+
245
  history = gr.State([])
246
  last_user_message = gr.State("")
247