Jordan commited on
Commit
9890814
1 Parent(s): 4117a0d
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,19 +8,19 @@ with gr.Blocks() as demo:
8
  text_output = gr.Textbox()
9
  text_output_interpret = gr.TextArea()
10
  text_button = gr.Button("Check Bias in your Text")
11
-
12
  with gr.Tab("Video"):
13
  vid_input = gr.Video()
14
  vid_output = gr.Textbox()
15
- vid_audio_stmt = gr.Textbox()
16
  vid_output_interpret = gr.TextArea()
 
17
  vid_button = gr.Button("Check Bias in your Video")
18
 
19
  with gr.Tab("Image"):
20
  img_input = gr.Image()
21
  img_output = gr.Textbox()
22
- img_gen_stmt = gr.Textbox()
23
  img_output_interpret = gr.TextArea()
 
24
  img_button = gr.Button("Check Bias in your Image")
25
 
26
  text_button.click(combine_modules.app_nlp_start, inputs=text_input, outputs=[text_output, text_output_interpret])
 
8
  text_output = gr.Textbox()
9
  text_output_interpret = gr.TextArea()
10
  text_button = gr.Button("Check Bias in your Text")
11
+
12
  with gr.Tab("Video"):
13
  vid_input = gr.Video()
14
  vid_output = gr.Textbox()
 
15
  vid_output_interpret = gr.TextArea()
16
+ vid_audio_stmt = gr.Textbox()
17
  vid_button = gr.Button("Check Bias in your Video")
18
 
19
  with gr.Tab("Image"):
20
  img_input = gr.Image()
21
  img_output = gr.Textbox()
 
22
  img_output_interpret = gr.TextArea()
23
+ img_gen_stmt = gr.Textbox()
24
  img_button = gr.Button("Check Bias in your Image")
25
 
26
  text_button.click(combine_modules.app_nlp_start, inputs=text_input, outputs=[text_output, text_output_interpret])