Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
Reading Comprehension NMN fix (#484)
Browse files Browse the repository at this point in the history
* extract field that exists

* branch to nmn visualization if model name is "nmn".

* revert previous attempt

* more surgical fix

* spacing

* more spacing!

* spaces are hard
  • Loading branch information
aimichal committed Jun 12, 2020
1 parent ae62fc3 commit 7ba8ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/components/demos/ReadingComprehension.js
Expand Up @@ -431,13 +431,13 @@ const AnswerByType = ({ responseData, requestData, interpretData, interpretModel

const Output = (props) => {
switch (props.requestData.model) {
case NMNModel.name: {
case NMNModel.name:
case NMNModel.modelId:
return (
<div className="model__content answer">
<nmn.Output response={props.responseData} />
</div>
);
}
default:
return (
<div className="model__content answer">
Expand Down

0 comments on commit 7ba8ef8

Please sign in to comment.