Update app.py
Browse files39 unmodified lines40414243444511 unmodified lines57585960616239 unmodified linesyield response"""For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface"""11 unmodified lineslabel="Top-p (nucleus sampling)",visible=False),],)39 unmodified lines40414243444546474849505152535455565758596061626364656667686911 unmodified lines8182838485868739 unmodified linesyield response# CSS for styling the interfacecss = """body {background-color: #121212; /* Dark background */color: white; /* Text color for better visibility */}.gr-button {background-color: white !important; /* White button color */color: black !important; /* Black text for contrast */border: none !important;padding: 8px 16px !important;border-radius: 5px !important;}.gr-button:hover {background-color: #e0e0e0 !important; /* Slightly lighter button on hover */}.gr-slider-container {color: white !important; /* Slider labels in white */}""""""For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface"""11 unmodified lineslabel="Top-p (nucleus sampling)",visible=False),],css=css, # Pass the custom CSS here)
app.py+25