Rooni commited on
Commit
65de657
·
1 Parent(s): 9cb5ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def gen(prompt, model='gpt'):
14
  API_URL = "https://api-inference.huggingface.co/models/openchat/openchat_3.5"
15
 
16
  payload = {
17
- "imputs": prompt
18
  }
19
 
20
  response = requests.post(API_URL, headers=headers, json=payload, timeout=timeout)
 
14
  API_URL = "https://api-inference.huggingface.co/models/openchat/openchat_3.5"
15
 
16
  payload = {
17
+ "inputs": prompt
18
  }
19
 
20
  response = requests.post(API_URL, headers=headers, json=payload, timeout=timeout)