Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -728,6 +728,7 @@ css = """
|
|
| 728 |
"""
|
| 729 |
|
| 730 |
footer_html = """
|
|
|
|
| 731 |
<div id="footer">
|
| 732 |
<table border=5 align=right>
|
| 733 |
<td align=left>
|
|
@@ -742,22 +743,18 @@ footer_html = """
|
|
| 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}"
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
|
| 755 |
-
|
| 756 |
-
|
| 757 |
-
|
| 758 |
-
|
| 759 |
-
|
| 760 |
-
)
|
| 761 |
-
gr.HTML(footer_html) # to show footer
|
| 762 |
|
| 763 |
-
demo.launch()
|
|
|
|
| 728 |
"""
|
| 729 |
|
| 730 |
footer_html = """
|
| 731 |
+
<br>
|
| 732 |
<div id="footer">
|
| 733 |
<table border=5 align=right>
|
| 734 |
<td align=left>
|
|
|
|
| 743 |
</table>
|
| 744 |
</div>
|
| 745 |
"""
|
|
|
|
| 746 |
# =============================
|
| 747 |
# Step 7: Launch App
|
| 748 |
# =============================
|
| 749 |
|
| 750 |
#def respond(message, history):
|
| 751 |
+
# return f"BubbleBot says: {message}"
|
| 752 |
+
|
| 753 |
+
gr.ChatInterface(
|
| 754 |
+
fn=chat_fn,
|
| 755 |
+
title="Flyline Chatbot ✈ ️",
|
| 756 |
+
description="Ask Flyline HR "+footer_html,
|
| 757 |
+
theme="soft",
|
| 758 |
+
css=css
|
| 759 |
+
).launch()
|
|
|
|
|
|
|
| 760 |
|
|
|