Spaces:
Configuration error
Configuration error
Al-Fathir
commited on
Commit
·
fd57848
1
Parent(s):
f959207
add message
Browse files
app.py
CHANGED
@@ -28,8 +28,11 @@ with gr.Blocks() as demo:
|
|
28 |
|
29 |
with gr.Tab("Chatbot"):
|
30 |
gr.ChatInterface(fn=yapping, type='messages',title="Chatsql")
|
|
|
31 |
|
32 |
with gr.Tab("Database"):
|
|
|
|
|
33 |
host = gr.Textbox(placeholder="http://127.0.0.1/", label="Host")
|
34 |
username = gr.Textbox(placeholder="Username", label="Username")
|
35 |
password = gr.Textbox(placeholder="Password", type="password", label="Password")
|
|
|
28 |
|
29 |
with gr.Tab("Chatbot"):
|
30 |
gr.ChatInterface(fn=yapping, type='messages',title="Chatsql")
|
31 |
+
gr.Markdown('Data and chat history are not being collected, so there\'s no need to worry about misuse of your information.')
|
32 |
|
33 |
with gr.Tab("Database"):
|
34 |
+
gr.Markdown("### Database Connection")
|
35 |
+
gr.Markdown("Use only a cloud-hosted MySQL server (local servers are not supported).\n\nYou can use the demo server by entering the values as indicated in the placeholders (if desired).")
|
36 |
host = gr.Textbox(placeholder="http://127.0.0.1/", label="Host")
|
37 |
username = gr.Textbox(placeholder="Username", label="Username")
|
38 |
password = gr.Textbox(placeholder="Password", type="password", label="Password")
|