Update app.py
Browse files
app.py
CHANGED
|
@@ -163,13 +163,14 @@ sql_interface = gr.Interface(
|
|
| 163 |
description="Type your message in the box above, and the chatbot will respond.",
|
| 164 |
)
|
| 165 |
|
| 166 |
-
|
| 167 |
iface = gr.Interface(sqlquery, "text", "html", css="""
|
| 168 |
.chatbox {display:flex;flex-direction:column}
|
| 169 |
.user_msg, .resp_msg {padding:4px;margin-bottom:4px;border-radius:4px;width:80%}
|
| 170 |
.user_msg {background-color:cornflowerblue;color:white;align-self:start}
|
| 171 |
.resp_msg {background-color:lightgray;align-self:self-end}
|
| 172 |
""", allow_screenshot=False, allow_flagging=False)
|
|
|
|
| 173 |
|
| 174 |
combine_interface = gr.TabbedInterface(
|
| 175 |
interface_list=[
|
|
|
|
| 163 |
description="Type your message in the box above, and the chatbot will respond.",
|
| 164 |
)
|
| 165 |
|
| 166 |
+
'''
|
| 167 |
iface = gr.Interface(sqlquery, "text", "html", css="""
|
| 168 |
.chatbox {display:flex;flex-direction:column}
|
| 169 |
.user_msg, .resp_msg {padding:4px;margin-bottom:4px;border-radius:4px;width:80%}
|
| 170 |
.user_msg {background-color:cornflowerblue;color:white;align-self:start}
|
| 171 |
.resp_msg {background-color:lightgray;align-self:self-end}
|
| 172 |
""", allow_screenshot=False, allow_flagging=False)
|
| 173 |
+
'''
|
| 174 |
|
| 175 |
combine_interface = gr.TabbedInterface(
|
| 176 |
interface_list=[
|