ysharma HF staff commited on
Commit
6cf144f
1 Parent(s): 19e6c05
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -50,7 +50,11 @@ def text_generate(prompt):
50
  "temperature": 1.1,
51
  "max_new_tokens": 250,
52
  "return_full_text": True
53
- }}
 
 
 
 
54
  response = requests.post(API_URL, headers=headers, json=json_)
55
  print(f"Response is : {response}")
56
  output = response.json()
 
50
  "temperature": 1.1,
51
  "max_new_tokens": 250,
52
  "return_full_text": True
53
+ },
54
+ "options":
55
+ {"use_cache": True,
56
+ "wait_for_modelche": True
57
+ },}
58
  response = requests.post(API_URL, headers=headers, json=json_)
59
  print(f"Response is : {response}")
60
  output = response.json()