Spaces:
Running
Running
Update app.py
#1
by
ybelkada
- opened
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 |
|