Spaces:
Build error
Build error
SHAMIL SHAHBAZ AWAN commited on
Update app.py
Browse files68 unmodified lines697071727273747527 unmodified lines10310410510610710810911011111211311411511611711811912012112212312412512610912768 unmodified lines ], )
# Styling the background and adding animations # Styling the background, chat transparency, and text color demo.css = """ @keyframes fadeIn { 0% { opacity: 0; }27 unmodified lines color: white; border-radius: 5px; }
/* Make the chat messages transparent and set text to white */ .gr-chatbox { background: rgba(0, 0, 0, 0.4); /* Transparent black background */ color: white !important; /* Set text color to white */ }
.gr-chatbox .gr-message { color: white !important; /* Ensures messages are white */ } .gr-chatbox .gr-message-user { color: white !important; /* User messages are white */ }
.gr-chatbox .gr-message-assistant { color: white !important; /* Assistant messages are white */ } """ if __name__ == "__main__": demo.launch() demo.launch() app.py+20-2