Spaces:
Runtime error
Runtime error
jenbenarye
commited on
Commit
Β·
1bed0da
1
Parent(s):
08af6ba
added email contact
Browse files- app/app.py +19 -0
app/app.py
CHANGED
|
@@ -640,6 +640,16 @@ button#add-language-btn {
|
|
| 640 |
background-color: rgba(0, 0, 0, 0.5) !important;
|
| 641 |
z-index: 9998 !important;
|
| 642 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 643 |
"""
|
| 644 |
|
| 645 |
def get_config(request: gr.Request):
|
|
@@ -692,6 +702,8 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
| 692 |
- βοΈ Edit a message
|
| 693 |
- π/π Like or dislike a message
|
| 694 |
- π Regenerate a message
|
|
|
|
|
|
|
| 695 |
""")
|
| 696 |
|
| 697 |
chatbot = gr.Chatbot(
|
|
@@ -946,4 +958,11 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
| 946 |
outputs=[admin_status, contributor_table]
|
| 947 |
)
|
| 948 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 949 |
demo.launch()
|
|
|
|
| 640 |
background-color: rgba(0, 0, 0, 0.5) !important;
|
| 641 |
z-index: 9998 !important;
|
| 642 |
}
|
| 643 |
+
.footer-banner {
|
| 644 |
+
background-color: #f5f5f5;
|
| 645 |
+
padding: 10px 20px;
|
| 646 |
+
border-top: 1px solid #ddd;
|
| 647 |
+
margin-top: 20px;
|
| 648 |
+
text-align: center;
|
| 649 |
+
}
|
| 650 |
+
.footer-banner p {
|
| 651 |
+
margin: 0;
|
| 652 |
+
}
|
| 653 |
"""
|
| 654 |
|
| 655 |
def get_config(request: gr.Request):
|
|
|
|
| 702 |
- βοΈ Edit a message
|
| 703 |
- π/π Like or dislike a message
|
| 704 |
- π Regenerate a message
|
| 705 |
+
|
| 706 |
+
**Have questions or ideas for improvement?** Contact us at: jen_ben@mit.edu
|
| 707 |
""")
|
| 708 |
|
| 709 |
chatbot = gr.Chatbot(
|
|
|
|
| 958 |
outputs=[admin_status, contributor_table]
|
| 959 |
)
|
| 960 |
|
| 961 |
+
# Add a contact footer at the bottom of the page
|
| 962 |
+
with gr.Row(elem_classes=["footer-banner"]):
|
| 963 |
+
gr.Markdown("""
|
| 964 |
+
### Contact Us
|
| 965 |
+
Have questions, requests, or ideas for how we can improve? Email us at: **jen_ben@mit.edu**
|
| 966 |
+
""")
|
| 967 |
+
|
| 968 |
demo.launch()
|