Narsil HF staff commited on
Commit
74e146e
1 Parent(s): d614278

Moving the URL towards the real API to get monitoring & metrics.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def inference(input_sentence, max_length, sample_or_greedy, seed=42):
42
  "eos_token_id": None,
43
  }
44
 
45
- payload = {"inputs": input_sentence, "parameters": parameters}
46
 
47
  data = query(payload)
48
 
 
42
  "eos_token_id": None,
43
  }
44
 
45
+ payload = {"inputs": input_sentence, "parameters": parameters,"options" : {"use_cache": False} }
46
 
47
  data = query(payload)
48