Kaushik066 commited on
Commit
814c73b
·
1 Parent(s): 10e0844

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -281,7 +281,7 @@ with gr.Blocks() as demo:
281
 
282
  # Gesture recognition Tab
283
  with gr.Tab("Gesture recognition"):
284
- with gr.Row(height=500, variant="panel", equal_height=True, show_progress=True):
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")
@@ -292,9 +292,9 @@ with gr.Blocks() as demo:
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
297
- video_button.click(translate_sign_language, inputs=video_input, outputs=[test_output, video_output])
298
 
299
  # Indian Sign Language gesture reference tab
300
  with gr.Tab("Indian Sign Language gesture reference"):
 
281
 
282
  # Gesture recognition Tab
283
  with gr.Tab("Gesture recognition"):
284
+ with gr.Row(height=300, variant="panel", equal_height=False, show_progress=True):
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")
 
292
  # Submit the Video
293
  video_button = gr.Button("Submit")
294
  # Add a button or functionality to process the video
295
+ text_output = gr.Textbox(label="Translation in English")
296
  # Set up the interface
297
+ video_button.click(translate_sign_language, inputs=video_input, outputs=[text_output, video_output])
298
 
299
  # Indian Sign Language gesture reference tab
300
  with gr.Tab("Indian Sign Language gesture reference"):