m-ric HF staff commited on
Commit
ff74240
·
verified ·
1 Parent(s): 5be6d57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ from folium import Map
3
  import numpy as np
4
  from ast import literal_eval
5
  import pandas as pd
 
6
 
7
  import asyncio
8
  from gradio_folium import Folium
@@ -27,7 +28,7 @@ from examples import (
27
  )
28
 
29
  repo_id = "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1"
30
- llm_client = InferenceClient(model=repo_id, timeout=180)
31
 
32
  end_sequence = "I hope that helps!"
33
 
 
3
  import numpy as np
4
  from ast import literal_eval
5
  import pandas as pd
6
+ import os
7
 
8
  import asyncio
9
  from gradio_folium import Folium
 
28
  )
29
 
30
  repo_id = "HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1"
31
+ llm_client = InferenceClient(model=repo_id, timeout=180, token=os.getenv("hf_token"))
32
 
33
  end_sequence = "I hope that helps!"
34