INNER CODE UNIT · Python
create_interface
tomtommyyuan/spmind · gradio_app.py:56
def create_interface(self):
"""Create the Gradio interface."""
custom_css = """
body {
background: radial-gradient(circle at top, #f5f7fb 0%, #e6ebf4 45%, #dfe3ec 100%) !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: #1d1d1f;
}
.gradio-container {
max-width: 960px !important;
margin: 2rem auto !important;
}
.app-surface {
padding: 32px 28px;
border-radius: 28px;
background: rgba(255, 255, 255, 0.88);
backdrop-filter: saturate(180%) blur(30px);