sqfoo commited on
Commit
5b278ac
·
verified ·
1 Parent(s): c66bc88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -124,6 +124,7 @@ def play_turn(human_response, loc, player, cur, custom_token, request: gr.Reques
124
  ]
125
 
126
  try:
 
127
  model = setup_model(MODEL_CONFIG)
128
  response = model.invoke(full_msg)
129
  # client = InferenceClient(
 
124
  ]
125
 
126
  try:
127
+ os.environ['HUGGINGFACEHUB_API_TOKEN'] = chosen_token
128
  model = setup_model(MODEL_CONFIG)
129
  response = model.invoke(full_msg)
130
  # client = InferenceClient(