tyang commited on
Commit
42f61dc
·
1 Parent(s): 9eea073

milke me if you dare

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -30,13 +30,13 @@ def get_answer(topic, question):
30
 
31
 
32
  inputs = [
33
- gr.inputs.Textbox(lines=5, label="Topic"),
34
- gr.inputs.Textbox(lines=5, label="Question")
35
  ]
36
  outputs = [
37
- gr.outputs.Textbox(type='text',label="Answer"),
38
- gr.outputs.Textbox(type='text',label="Wikipedia Reference Article"),
39
- gr.outputs.Label(type="confidences",label="Confidence in answer (assuming the correct wikipedia article)"),
40
  ]
41
 
42
  title = "Question Answering with ELECTRA and Wikipedia"
 
30
 
31
 
32
  inputs = [
33
+ gr.Textbox(lines=5, label="Topic"),
34
+ gr.Textbox(lines=5, label="Question")
35
  ]
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"