Spaces:
Build error
Build error
Commit ·
83a8e6b
1
Parent(s): 58feb18
Upload folder using huggingface_hub
Browse files
test3.py
CHANGED
|
@@ -45,4 +45,17 @@ def chat(message, history):
|
|
| 45 |
return ai_response
|
| 46 |
iface = gr.ChatInterface(fn=chat, title="ChatABT. A real mean ai. i dont have the money to run this 24/7 lol.")
|
| 47 |
# Launch the Gradio chat interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
iface.launch()
|
|
|
|
| 45 |
return ai_response
|
| 46 |
iface = gr.ChatInterface(fn=chat, title="ChatABT. A real mean ai. i dont have the money to run this 24/7 lol.")
|
| 47 |
# Launch the Gradio chat interface
|
| 48 |
+
# Customize the Gradio chat interface appearance using CSS
|
| 49 |
+
css = """
|
| 50 |
+
body {
|
| 51 |
+
background-color: black;
|
| 52 |
+
color: white;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
button {
|
| 56 |
+
background-color: #1ded69;
|
| 57 |
+
color: black;
|
| 58 |
+
}
|
| 59 |
+
"""
|
| 60 |
+
iface.style(css) # Apply the custom CSS
|
| 61 |
iface.launch()
|