Spaces:
Sleeping
Sleeping
run 10
Browse files
app.py
CHANGED
|
@@ -97,43 +97,6 @@ with gr.Blocks() as demo:
|
|
| 97 |
|
| 98 |
demo.launch()
|
| 99 |
|
| 100 |
-
custom_css = """
|
| 101 |
-
body {
|
| 102 |
-
background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 100%);
|
| 103 |
-
}
|
| 104 |
-
|
| 105 |
-
.gradio-container {
|
| 106 |
-
background: transparent !important;
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
footer {
|
| 110 |
-
visibility: hidden;
|
| 111 |
-
}
|
| 112 |
-
|
| 113 |
-
/* Chatbot styling */
|
| 114 |
-
.message {
|
| 115 |
-
border-radius: 15px !important;
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
/* Input box */
|
| 119 |
-
textarea {
|
| 120 |
-
background-color: rgba(255,255,255,0.8) !important;
|
| 121 |
-
border-radius: 12px !important;
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
-
/* Buttons */
|
| 125 |
-
button {
|
| 126 |
-
background: #ff85a2 !important;
|
| 127 |
-
color: white !important;
|
| 128 |
-
border: none !important;
|
| 129 |
-
border-radius: 12px !important;
|
| 130 |
-
}
|
| 131 |
-
"""
|
| 132 |
-
|
| 133 |
-
demo = gr.ChatInterface(
|
| 134 |
-
fn=respond,
|
| 135 |
-
css=custom_css
|
| 136 |
-
)
|
| 137 |
|
| 138 |
chatbot = gr.ChatInterface(fn=respond, title = "Mind Matters", description = "Always here to help", editable = True)
|
| 139 |
chatbot.launch()
|
|
|
|
| 97 |
|
| 98 |
demo.launch()
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
chatbot = gr.ChatInterface(fn=respond, title = "Mind Matters", description = "Always here to help", editable = True)
|
| 102 |
chatbot.launch()
|