EmoCube commited on
Commit
1e42f42
·
verified ·
1 Parent(s): c9cf7a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def run_huggingface_model(model, messages, max_tokens, temperature, top_p):
60
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
61
 
62
  payload = {
63
- "inputs": json.dumps(messages)
64
  # "seed": random.randint(1, 1000000000),
65
  "parameters": {
66
  "max_tokens": max_tokens,
 
60
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
61
 
62
  payload = {
63
+ "inputs": json.dumps(messages),
64
  # "seed": random.randint(1, 1000000000),
65
  "parameters": {
66
  "max_tokens": max_tokens,