Update app.py
Browse files29 unmodified lines3031323334353629 unmodified lines# Start building the Gradio interfacewith gr.Group(elem_id="UI-conf"):with gr.Blocks() as demo:gr.Markdown("## Config Class - Transformers") # Display a title for the web interface.with gr.Row(): # Create a row in the interface to organize elements horizontally.# Dropdown menu to select a model.29 unmodified lines3031323334353637383940414243444546474849505152535455565758596061626329 unmodified lines# Start building the Gradio interfacewith gr.Group(elem_id="UI-conf"):custom_css = """.gradio-container {background-color: #f0f0f0; /* Light grey background */font-family: Arial, sans-serif;}.gradio-textbox {border: 2px solid #4CAF50; /* Green border for textboxes */border-radius: 5px;}.gradio-button {background-color: #4CAF50; /* Green background for buttons */color: white;border: none;border-radius: 5px;padding: 10px 20px;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;cursor: pointer;}.gradio-button:hover {background-color: #45a049; /* Darker green on hover */}"""with gr.Blocks(css=custom_css) as demo:gr.Markdown("## Config Class - Transformers") # Display a title for the web interface.with gr.Row(): # Create a row in the interface to organize elements horizontally.# Dropdown menu to select a model.
app.py+28-1