sanchit-gandhi HF staff commited on
Commit
7e3fa91
1 Parent(s): 0ac303f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def query(payload):
59
 
60
  def inference(input_sentence, max_length, sample_or_greedy, raw_text=True):
61
  payload = {
62
- "prompt": input_sentence,
63
  "do_sample": True,
64
  # "max_new_tokens": max_length
65
  }
 
59
 
60
  def inference(input_sentence, max_length, sample_or_greedy, raw_text=True):
61
  payload = {
62
+ "inputs": input_sentence,
63
  "do_sample": True,
64
  # "max_new_tokens": max_length
65
  }