besijar commited on
Commit
6492340
1 Parent(s): fe88e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def query(question, context):
15
  },
16
  }
17
  response = requests.post(API_URL, headers=headers, json=data)
18
- return response.json()["outputs"]["answer"]
19
 
20
  # Example question and context
21
  passage = "The quick brown fox jumped over the lazy dog."
 
15
  },
16
  }
17
  response = requests.post(API_URL, headers=headers, json=data)
18
+ return response.json()
19
 
20
  # Example question and context
21
  passage = "The quick brown fox jumped over the lazy dog."