ffreemt commited on
Commit
8cde42e
·
1 Parent(s): 5395785
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,8 +105,8 @@ def landing():
105
  """
106
  query /hf/v1/chat/completions for a spin, e.g. curl -XPOST 127.0.0.1:7860/hf/v1/chat/completions -H "Authorization: Bearer Your_AUTHKEY"
107
 
108
- or
109
- curl -XPOST [127.0.0.1:7860 | hf-space-url(e.g. https://mikeee-reka.hf.space)]/hf/v1/chat/completions -H "Authorization: Bearer Your_AUTHKEY" -H "Content-Type: application/json" --data "{\"model\": \"gpt-3.5-turbo\", \"messages\": [{\"role\": \"user\", \"content\": \"Say this is a test!\"}]}"
110
  """
111
  )
112
 
 
105
  """
106
  query /hf/v1/chat/completions for a spin, e.g. curl -XPOST 127.0.0.1:7860/hf/v1/chat/completions -H "Authorization: Bearer Your_AUTHKEY"
107
 
108
+ or hf-space-url e.g.,
109
+ curl -XPOST https://mikeee-reka.hf.space/hf/v1/chat/completions -H "Authorization: Bearer Your_AUTHKEY" -H "Content-Type: application/json" --data "{\"model\": \"reka-core\", \"messages\": [{\"role\": \"user\", \"content\": \"Say this is a test!\"}]}"
110
  """
111
  )
112