ziyadbastaili commited on
Commit
ba2367e
1 Parent(s): 59db485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
29
  model.to(device)
30
  processor = SquadV2Processor()
31
 
32
- def run_prediction(question, context_text):
33
  print(question)
34
  """Setup function to compute predictions"""
35
  examples = []
 
29
  model.to(device)
30
  processor = SquadV2Processor()
31
 
32
+ def run_prediction(context_text, question):
33
  print(question)
34
  """Setup function to compute predictions"""
35
  examples = []