EmoCube commited on
Commit
46da55e
·
verified ·
1 Parent(s): a7f537c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -83,6 +83,7 @@ def run_huggingface_model(model, messages, max_tokens, temperature, top_p):
83
  model = "https://api-inference.huggingface.co/models/" + model + "/v1/chat/completions";
84
  response = requests.post(model, headers=headers, json=payload, timeout=30)
85
 
 
86
  print(response)
87
 
88
  if response.status_code != 200:
 
83
  model = "https://api-inference.huggingface.co/models/" + model + "/v1/chat/completions";
84
  response = requests.post(model, headers=headers, json=payload, timeout=30)
85
 
86
+ print("RESPONSE: ")
87
  print(response)
88
 
89
  if response.status_code != 200: