Spaces:
Sleeping
Sleeping
Paulina commited on
Commit ·
9b3af10
1
Parent(s): 554f71c
fixes
Browse files
app.py
CHANGED
|
@@ -177,7 +177,7 @@ class BiasVisualizationDashboard:
|
|
| 177 |
|
| 178 |
return predictions
|
| 179 |
|
| 180 |
-
def analyze_test_image(self, image, group_count=
|
| 181 |
"""Analyze image with all connected models"""
|
| 182 |
if image is None:
|
| 183 |
return None, None, None, "Please upload a test image first."
|
|
@@ -447,7 +447,7 @@ def create_interface():
|
|
| 447 |
|
| 448 |
with gr.Row():
|
| 449 |
with gr.Column():
|
| 450 |
-
gr.Markdown("#### 3")
|
| 451 |
group3_url = gr.Textbox(
|
| 452 |
label="Model URL",
|
| 453 |
placeholder="https://teachablemachine.withgoogle.com/models/YOUR_MODEL_ID/",
|
|
|
|
| 177 |
|
| 178 |
return predictions
|
| 179 |
|
| 180 |
+
def analyze_test_image(self, image, group_count=4):
|
| 181 |
"""Analyze image with all connected models"""
|
| 182 |
if image is None:
|
| 183 |
return None, None, None, "Please upload a test image first."
|
|
|
|
| 447 |
|
| 448 |
with gr.Row():
|
| 449 |
with gr.Column():
|
| 450 |
+
gr.Markdown("#### Group 3")
|
| 451 |
group3_url = gr.Textbox(
|
| 452 |
label="Model URL",
|
| 453 |
placeholder="https://teachablemachine.withgoogle.com/models/YOUR_MODEL_ID/",
|