FuriouslyAsleep commited on
Commit
28b6f49
1 Parent(s): b0ae90b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ iface = gr.Interface(
116
  gr.inputs.Textbox(
117
  lines=3, default="<h1>Grid Fin</h1><table><tr><td><p>Cost Risk</p></td><td><p>None</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table><h1>Propulsion</h1><table><tr><td><p>Cost Risk</p></td><td><p>Yes, material overrun</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table><h1>Nose Cone</h1><table><tr><td><p>Cost Risk</p></td><td><p>Labor rate increases</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table>"
118
  ),
119
- gr.inputs.Textbox(lines=3, default="What is the propulsion risk?"),
120
  ],
121
  [gr.outputs.Textbox(label="Question Answer"),gr.outputs.HTML(label="HTML Render")], title="Test out extractive Question-Answering on a short HTML string"
122
  )
 
116
  gr.inputs.Textbox(
117
  lines=3, default="<h1>Grid Fin</h1><table><tr><td><p>Cost Risk</p></td><td><p>None</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table><h1>Propulsion</h1><table><tr><td><p>Cost Risk</p></td><td><p>Yes, material overrun</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table><h1>Nose Cone</h1><table><tr><td><p>Cost Risk</p></td><td><p>Labor rate increases</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table>"
118
  ),
119
+ gr.inputs.Textbox(lines=3, default="What is the propulsion risk? "),
120
  ],
121
  [gr.outputs.Textbox(label="Question Answer"),gr.outputs.HTML(label="HTML Render")], title="Test out extractive Question-Answering on a short HTML string"
122
  )