Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,13 +98,14 @@ with gr.Blocks(
|
|
| 98 |
) as demo:
|
| 99 |
gr.Markdown("<h1 style='text-align:center; color:#2E8B57;'>🌿 Linear Regression — Plant Yield Predictor 🌿</h1>")
|
| 100 |
|
|
|
|
| 101 |
with gr.Row():
|
| 102 |
with gr.Column(scale=1):
|
| 103 |
gr.Markdown("### 🌱 Plant & Strain")
|
| 104 |
strain_input = gr.Dropdown(
|
| 105 |
strain_names,
|
| 106 |
label="Select Strain",
|
| 107 |
-
value=
|
| 108 |
)
|
| 109 |
row_selector = gr.Dropdown(row_options, label="Select Row", value="None, Enter Manually")
|
| 110 |
|
|
|
|
| 98 |
) as demo:
|
| 99 |
gr.Markdown("<h1 style='text-align:center; color:#2E8B57;'>🌿 Linear Regression — Plant Yield Predictor 🌿</h1>")
|
| 100 |
|
| 101 |
+
strain_names = ["Tetradesmus nigardi", "Clostroprosis acicularis"]
|
| 102 |
with gr.Row():
|
| 103 |
with gr.Column(scale=1):
|
| 104 |
gr.Markdown("### 🌱 Plant & Strain")
|
| 105 |
strain_input = gr.Dropdown(
|
| 106 |
strain_names,
|
| 107 |
label="Select Strain",
|
| 108 |
+
value=strain_names[0] # default: Tetradesmus nigardi
|
| 109 |
)
|
| 110 |
row_selector = gr.Dropdown(row_options, label="Select Row", value="None, Enter Manually")
|
| 111 |
|