Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -116,11 +116,13 @@ if __name__ == "__main__":
|
|
116 |
gen.click(fn=predict, inputs=inputs, outputs=outputs)
|
117 |
clr.click(fn=lambda value: gr.update(value=""), inputs=clr, outputs=model_input)
|
118 |
|
|
|
|
|
119 |
gr.Markdown(
|
120 |
"""
|
121 |
-
|
|
|
122 |
GLM-130B was trained on web-crawled data, so it's hard to predict how GLM-130B will respond to particular prompts; harmful or otherwise offensive content may occur without warning. We prohibit users from knowingly generating or allowing others to knowingly generate harmful content, including Hateful, Harassment, Violence, Adult, Political, Deception, etc.
|
123 |
""")
|
124 |
-
gr_examples = gr.Examples(examples=examples, inputs=model_input)
|
125 |
|
126 |
demo.launch()
|
|
|
116 |
gen.click(fn=predict, inputs=inputs, outputs=outputs)
|
117 |
clr.click(fn=lambda value: gr.update(value=""), inputs=clr, outputs=model_input)
|
118 |
|
119 |
+
gr_examples = gr.Examples(examples=examples, inputs=model_input)
|
120 |
+
|
121 |
gr.Markdown(
|
122 |
"""
|
123 |
+
Disclaimer inspired from [BLOOM](https://huggingface.co/spaces/bigscience/bloom-book)
|
124 |
+
|
125 |
GLM-130B was trained on web-crawled data, so it's hard to predict how GLM-130B will respond to particular prompts; harmful or otherwise offensive content may occur without warning. We prohibit users from knowingly generating or allowing others to knowingly generate harmful content, including Hateful, Harassment, Violence, Adult, Political, Deception, etc.
|
126 |
""")
|
|
|
127 |
|
128 |
demo.launch()
|