Update app.py
Browse files
app.py
CHANGED
|
@@ -40,6 +40,8 @@ description2 = """
|
|
| 40 |
To use the app, click on one of the examples, or adjust the values of the factors, and click on Analyze. 🤞
|
| 41 |
"""
|
| 42 |
|
|
|
|
|
|
|
| 43 |
with gr.Blocks(title=title) as demo:
|
| 44 |
gr.Markdown(f"## {title}")
|
| 45 |
gr.Markdown(description1)
|
|
@@ -60,10 +62,7 @@ with gr.Blocks(title=title) as demo:
|
|
| 60 |
with gr.Column(visible=True) as output_col:
|
| 61 |
label = gr.Label(label = "Predicted Label")
|
| 62 |
local_plot = gr.Plot(label = 'Shap:')
|
| 63 |
-
|
| 64 |
-
with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="blue", neutral_hue="cyan")) as demo:
|
| 65 |
-
|
| 66 |
-
|
| 67 |
submit_btn.click(
|
| 68 |
main_func,
|
| 69 |
[Admission_Grade, Second_Sem_Grades, Previous_Qualification_Grade, First_Sem_Grades, Course, Second_Sem_Units_Approved, Age_at_Enrollment],
|
|
|
|
| 40 |
To use the app, click on one of the examples, or adjust the values of the factors, and click on Analyze. 🤞
|
| 41 |
"""
|
| 42 |
|
| 43 |
+
with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="blue", neutral_hue="cyan")) as demo:
|
| 44 |
+
|
| 45 |
with gr.Blocks(title=title) as demo:
|
| 46 |
gr.Markdown(f"## {title}")
|
| 47 |
gr.Markdown(description1)
|
|
|
|
| 62 |
with gr.Column(visible=True) as output_col:
|
| 63 |
label = gr.Label(label = "Predicted Label")
|
| 64 |
local_plot = gr.Plot(label = 'Shap:')
|
| 65 |
+
|
|
|
|
|
|
|
|
|
|
| 66 |
submit_btn.click(
|
| 67 |
main_func,
|
| 68 |
[Admission_Grade, Second_Sem_Grades, Previous_Qualification_Grade, First_Sem_Grades, Course, Second_Sem_Units_Approved, Age_at_Enrollment],
|