Commit
·
61f16e5
1
Parent(s):
a4cdf8d
Update app.py
Browse files
app.py
CHANGED
@@ -285,12 +285,12 @@ with gr.Blocks() as demo:
|
|
285 |
with gr.Column(scale=1, variant="panel"):
|
286 |
# Add webcam input for sign language video capture
|
287 |
video_input = gr.Video(format="mp4", label="Gesture")
|
288 |
-
# Submit the Video
|
289 |
-
video_button = gr.Button("Submit")
|
290 |
with gr.Column(scale=1, variant="panel"):
|
291 |
# Display the landmarked video
|
292 |
video_output = gr.Video(streaming=True, label="Landmarked Gesture")
|
293 |
-
with gr.Row(
|
|
|
|
|
294 |
# Add a button or functionality to process the video
|
295 |
test_output = gr.Textbox(label="Translation in English")
|
296 |
# Set up the interface
|
@@ -298,7 +298,7 @@ with gr.Blocks() as demo:
|
|
298 |
|
299 |
# Indian Sign Language gesture reference tab
|
300 |
with gr.Tab("Indian Sign Language gesture reference"):
|
301 |
-
with gr.Row(
|
302 |
with gr.Column(scale=1, variant="panel"):
|
303 |
video_dropdown = gr.Dropdown(choices=list_videos(), label="ISL gestures", info="More gestures comming soon!")
|
304 |
search_button = gr.Button("Search Gesture")
|
|
|
285 |
with gr.Column(scale=1, variant="panel"):
|
286 |
# Add webcam input for sign language video capture
|
287 |
video_input = gr.Video(format="mp4", label="Gesture")
|
|
|
|
|
288 |
with gr.Column(scale=1, variant="panel"):
|
289 |
# Display the landmarked video
|
290 |
video_output = gr.Video(streaming=True, label="Landmarked Gesture")
|
291 |
+
with gr.Row(variant="panel", equal_height=True, show_progress=True):
|
292 |
+
# Submit the Video
|
293 |
+
video_button = gr.Button("Submit")
|
294 |
# Add a button or functionality to process the video
|
295 |
test_output = gr.Textbox(label="Translation in English")
|
296 |
# Set up the interface
|
|
|
298 |
|
299 |
# Indian Sign Language gesture reference tab
|
300 |
with gr.Tab("Indian Sign Language gesture reference"):
|
301 |
+
with gr.Row(max_height=300, variant="panel", equal_height=True, show_progress=True):
|
302 |
with gr.Column(scale=1, variant="panel"):
|
303 |
video_dropdown = gr.Dropdown(choices=list_videos(), label="ISL gestures", info="More gestures comming soon!")
|
304 |
search_button = gr.Button("Search Gesture")
|