Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import asyncio
|
|
9 |
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s:%(levelname)s:%(name)s: %(message)s', handlers=[logging.StreamHandler()])
|
10 |
|
11 |
# ์ถ๋ก API ํด๋ผ์ด์ธํธ ์ค์
|
12 |
-
hf_client = InferenceClient(model="
|
13 |
|
14 |
# ๋ํ ํ์คํ ๋ฆฌ๋ฅผ ์ ์ฅํ ์ ์ญ ๋ณ์
|
15 |
conversation_history = []
|
|
|
9 |
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s:%(levelname)s:%(name)s: %(message)s', handlers=[logging.StreamHandler()])
|
10 |
|
11 |
# ์ถ๋ก API ํด๋ผ์ด์ธํธ ์ค์
|
12 |
+
hf_client = InferenceClient(model=os.getenv("LLM"), token=os.getenv("HF_TOKEN"))
|
13 |
|
14 |
# ๋ํ ํ์คํ ๋ฆฌ๋ฅผ ์ ์ฅํ ์ ์ญ ๋ณ์
|
15 |
conversation_history = []
|