tyang commited on
Commit
6531e1f
1 Parent(s): 42f61dc

why gradio change their entire fucking api for no reason

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ inputs = [
36
  outputs = [
37
  gr.Textbox(type='text',label="Answer"),
38
  gr.Textbox(type='text',label="Wikipedia Reference Article"),
39
- gr.Label(type="confidences",label="Confidence in answer (assuming the correct wikipedia article)"),
40
  ]
41
 
42
  title = "Question Answering with ELECTRA and Wikipedia"
 
36
  outputs = [
37
  gr.Textbox(type='text',label="Answer"),
38
  gr.Textbox(type='text',label="Wikipedia Reference Article"),
39
+ gr.Label(label="Confidence in answer (assuming the correct wikipedia article)"),
40
  ]
41
 
42
  title = "Question Answering with ELECTRA and Wikipedia"