Lâm Nguyễn commited on
Commit
4d63793
·
1 Parent(s): cc29f4c

Update space

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ def respond(
14
  """
15
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
16
  """
17
- client = InferenceClient(token=hf_token.token, model="openai/gpt-oss-20b")
18
-
19
  messages = [{"role": "system", "content": system_message}]
20
 
21
  messages.extend(history)
 
14
  """
15
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
16
  """
17
+ client = InferenceClient(token=hf_token.token, model="lam2/text2sql")
18
+ system_message = 'Convert the following text to a SQL query:'
19
  messages = [{"role": "system", "content": system_message}]
20
 
21
  messages.extend(history)