Spaces:
Sleeping
Sleeping
button height
Browse files
app.py
CHANGED
|
@@ -13,9 +13,6 @@ from huggingface_hub import list_repo_files, hf_hub_download
|
|
| 13 |
from ultralytics import YOLO
|
| 14 |
|
| 15 |
import cv2
|
| 16 |
-
import os
|
| 17 |
-
|
| 18 |
-
print(os.path.abspath(os.getcwd()))
|
| 19 |
|
| 20 |
# ---------------------------------
|
| 21 |
# 0. Get dataset file names
|
|
@@ -165,7 +162,7 @@ with gr.Blocks() as demo:
|
|
| 165 |
with gr.Row():
|
| 166 |
dropdown = gr.Dropdown( ["train", "val", "test"], label="Dataset split to use", value="train")
|
| 167 |
dataset_choice = gr.Text(label="Using Dataset")
|
| 168 |
-
with gr.Row():
|
| 169 |
index_input = gr.Number(label="Enter image number to display: ", value=0, precision=0)
|
| 170 |
go_btn = gr.Button("Apply")
|
| 171 |
with gr.Row():
|
|
|
|
| 13 |
from ultralytics import YOLO
|
| 14 |
|
| 15 |
import cv2
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# ---------------------------------
|
| 18 |
# 0. Get dataset file names
|
|
|
|
| 162 |
with gr.Row():
|
| 163 |
dropdown = gr.Dropdown( ["train", "val", "test"], label="Dataset split to use", value="train")
|
| 164 |
dataset_choice = gr.Text(label="Using Dataset")
|
| 165 |
+
with gr.Row(equal_height=True):
|
| 166 |
index_input = gr.Number(label="Enter image number to display: ", value=0, precision=0)
|
| 167 |
go_btn = gr.Button("Apply")
|
| 168 |
with gr.Row():
|