Update app.py
Browse files
app.py
CHANGED
|
@@ -61,6 +61,10 @@ with gr.Blocks(title=title) as demo:
|
|
| 61 |
label = gr.Label(label = "Predicted Label")
|
| 62 |
local_plot = gr.Plot(label = 'Shap:')
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
submit_btn.click(
|
| 65 |
main_func,
|
| 66 |
[Admission_Grade, Second_Sem_Grades, Previous_Qualification_Grade, First_Sem_Grades, Course, Second_Sem_Units_Approved, Age_at_Enrollment],
|
|
|
|
| 61 |
label = gr.Label(label = "Predicted Label")
|
| 62 |
local_plot = gr.Plot(label = 'Shap:')
|
| 63 |
|
| 64 |
+
theme = gr.themes.Default(primary_hue="blue").set(
|
| 65 |
+
button_primary_background_fill="*primary_200",
|
| 66 |
+
button_primary_background_fill_hover="*primary_300",
|
| 67 |
+
)
|
| 68 |
submit_btn.click(
|
| 69 |
main_func,
|
| 70 |
[Admission_Grade, Second_Sem_Grades, Previous_Qualification_Grade, First_Sem_Grades, Course, Second_Sem_Units_Approved, Age_at_Enrollment],
|