Parthjain9925 commited on
Commit
0487437
·
verified ·
1 Parent(s): 4899446

updated model to fetch from spaces keys

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ model = HfApiModel(
40
  token = os.environ["HF_TOKEN"],
41
  max_tokens=2096,
42
  temperature=0.5,
43
- model_id='mistralai/Mistral-7B-instruct-v0.3',# it is possible that this model may be overloaded
44
  custom_role_conversions=None,
45
  )
46
 
 
40
  token = os.environ["HF_TOKEN"],
41
  max_tokens=2096,
42
  temperature=0.5,
43
+ model_id= os.environ['MODEL'],# it is possible that this model may be overloaded
44
  custom_role_conversions=None,
45
  )
46