Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -727,32 +727,37 @@ css = """
|
|
| 727 |
|
| 728 |
"""
|
| 729 |
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
|
| 733 |
-
<
|
| 734 |
-
<
|
| 735 |
-
|
| 736 |
-
|
| 737 |
-
<
|
| 738 |
-
|
| 739 |
-
</
|
| 740 |
-
|
| 741 |
-
</
|
| 742 |
-
|
| 743 |
-
|
|
|
|
|
|
|
| 744 |
# =============================
|
| 745 |
# Step 7: Launch App
|
| 746 |
# =============================
|
| 747 |
|
| 748 |
#def respond(message, history):
|
| 749 |
-
# return f"BubbleBot says: {message}"
|
| 750 |
-
|
| 751 |
-
gr.
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
|
| 755 |
-
|
| 756 |
-
|
| 757 |
-
|
|
|
|
|
|
|
| 758 |
|
|
|
|
|
|
| 727 |
|
| 728 |
"""
|
| 729 |
|
| 730 |
+
footer_html = """
|
| 731 |
+
<div id="footer">
|
| 732 |
+
<table border=5 align=right>
|
| 733 |
+
<td align=left>
|
| 734 |
+
<b>AIML Oct 2024 Batch</b>
|
| 735 |
+
</td>
|
| 736 |
+
<td>
|
| 737 |
+
<font face="Arial" size=2 align=right color=navy blue>
|
| 738 |
+
Assignment - Capstone Project Interim: Airlines Q&A
|
| 739 |
+
[ <b> Naveen Garg, Dishant Kalra, Sandeep Maini, Ajeet Prasad, Abhishek Srivastava </b> ]
|
| 740 |
+
</font>
|
| 741 |
+
</td>
|
| 742 |
+
</table>
|
| 743 |
+
</div>
|
| 744 |
+
"""
|
| 745 |
+
|
| 746 |
# =============================
|
| 747 |
# Step 7: Launch App
|
| 748 |
# =============================
|
| 749 |
|
| 750 |
#def respond(message, history):
|
| 751 |
+
# return f"BubbleBot says: {message}" # just for sample test
|
| 752 |
+
|
| 753 |
+
with gr.Blocks(css=css) as demo:
|
| 754 |
+
gr.ChatInterface(
|
| 755 |
+
fn=chat_fn,
|
| 756 |
+
title="Flyline Chatbot ✈ ️",
|
| 757 |
+
description="Ask Flyline HR",
|
| 758 |
+
theme="soft",
|
| 759 |
+
css=css
|
| 760 |
+
)
|
| 761 |
+
gr.HTML(footer_html) # to show footer
|
| 762 |
|
| 763 |
+
demo.launch()
|