Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|