criticalDanger commited on
Commit
f518306
1 Parent(s): e06afc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -56,5 +56,20 @@ inputs = [
56
  # Define the output component
57
  outputs = gr.Textbox(label="Prediction")
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  # Create and launch the Gradio interface
60
- gr.Interface(fn=predict_heart_disease, inputs=inputs, outputs=outputs).launch()
 
56
  # Define the output component
57
  outputs = gr.Textbox(label="Prediction")
58
 
59
+ # Define custom css for the interface
60
+ custom_css = """
61
+ body {
62
+ background-color: white;
63
+ colour: black;
64
+ }
65
+ .gradio-container {
66
+ background-color: white;
67
+ }
68
+ .gradio-interface input, .gradio-interface select {
69
+ background-color: #f0f0f0;
70
+ color: black;
71
+ }
72
+ """
73
+
74
  # Create and launch the Gradio interface
75
+ gr.Interface(fn=predict_heart_disease, inputs=inputs, outputs=outputs, css=custom_css).launch()