Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 44 |
"""
|
| 45 |
theme = gr.themes.Default(primary_hue="blue")
|
| 46 |
|
| 47 |
-
with gr.
|
|
|
|
|
|
|
|
|
|
| 48 |
gr.HTML("""
|
| 49 |
<div>
|
| 50 |
<p>By using our app, which is powered by HuggingFaceH4/zephyr-7b-beta, you acknowledge and agree to the following terms regarding the data you provide:</p>
|
|
@@ -77,4 +80,5 @@ app = gr.ChatInterface(
|
|
| 77 |
|
| 78 |
|
| 79 |
if __name__ == "__main__":
|
|
|
|
| 80 |
app.launch()
|
|
|
|
| 44 |
"""
|
| 45 |
theme = gr.themes.Default(primary_hue="blue")
|
| 46 |
|
| 47 |
+
with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
| 48 |
+
#chatbot {height: 520px; overflow: auto;}""",
|
| 49 |
+
theme=theme) as consent:
|
| 50 |
+
with gr.Accordion("User Consent for Data Collection, Use, and Sharing", open=True):
|
| 51 |
gr.HTML("""
|
| 52 |
<div>
|
| 53 |
<p>By using our app, which is powered by HuggingFaceH4/zephyr-7b-beta, you acknowledge and agree to the following terms regarding the data you provide:</p>
|
|
|
|
| 80 |
|
| 81 |
|
| 82 |
if __name__ == "__main__":
|
| 83 |
+
consent.launch()
|
| 84 |
app.launch()
|