Emily McMilin commited on
Commit
38542cb
·
1 Parent(s): 4547bf4

new API updates

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -476,16 +476,16 @@ gr.Interface(
476
  ),
477
  ],
478
  outputs=[
479
- gr.outputs.Textbox(
480
  type="auto", label="Sample target text fed to model"),
481
  gr.Plot(type="auto", label="Plot of softmax probability pronouns predicted female."),
482
  gr.Plot(type="auto", label="Plot of softmax probability pronouns predicted male."),
483
- gr.outputs.Dataframe(
484
  show_label=True,
485
  overflow_row_behaviour="show_ends",
486
  label="Table of softmax probability pronouns predicted female",
487
  ),
488
- gr.outputs.Dataframe(
489
  show_label=True,
490
  overflow_row_behaviour="show_ends",
491
  label="Table of softmax probability pronouns predicted male",
 
476
  ),
477
  ],
478
  outputs=[
479
+ gr.Textbox(
480
  type="auto", label="Sample target text fed to model"),
481
  gr.Plot(type="auto", label="Plot of softmax probability pronouns predicted female."),
482
  gr.Plot(type="auto", label="Plot of softmax probability pronouns predicted male."),
483
+ gr.Dataframe(
484
  show_label=True,
485
  overflow_row_behaviour="show_ends",
486
  label="Table of softmax probability pronouns predicted female",
487
  ),
488
+ gr.Dataframe(
489
  show_label=True,
490
  overflow_row_behaviour="show_ends",
491
  label="Table of softmax probability pronouns predicted male",