srgtuszy commited on
Commit
2d7347d
·
1 Parent(s): aa2a2de

Updated the model to fix bad requests

Browse files
Files changed (2) hide show
  1. .gitignore +2 -1
  2. app.py +1 -1
.gitignore CHANGED
@@ -1,3 +1,4 @@
1
  .venv
2
  __pycache__
3
- .gradio
 
 
1
  .venv
2
  __pycache__
3
+ .gradio
4
+ .env
app.py CHANGED
@@ -38,7 +38,7 @@ final_answer = FinalAnswerTool()
38
  model = HfApiModel(
39
  max_tokens=2096,
40
  temperature=0.5,
41
- model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
42
  custom_role_conversions=None,
43
  )
44
 
 
38
  model = HfApiModel(
39
  max_tokens=2096,
40
  temperature=0.5,
41
+ model_id='mistralai/Mistral-7B-Instruct-v0.2',
42
  custom_role_conversions=None,
43
  )
44