Spaces:
Running
Running
JAMESPARK3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
-
# Hugging Face API ํ ํฐ์
|
5 |
HF_TOKEN = st.secrets["HF_TOKEN"]
|
6 |
|
7 |
# Inference Client ์ค์ (GRIN-MoE ๋ชจ๋ธ ์ฌ์ฉ)
|
@@ -53,3 +53,4 @@ if st.session_state.messages:
|
|
53 |
st.write(f"**์ฌ์ฉ์:** {msg['content']}")
|
54 |
else:
|
55 |
st.write(f"**AI:** {msg['content']}")
|
|
|
|
1 |
import streamlit as st
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
+
# Hugging Face API ํ ํฐ์ Hugging Face Secrets์์ ๋ถ๋ฌ์ด
|
5 |
HF_TOKEN = st.secrets["HF_TOKEN"]
|
6 |
|
7 |
# Inference Client ์ค์ (GRIN-MoE ๋ชจ๋ธ ์ฌ์ฉ)
|
|
|
53 |
st.write(f"**์ฌ์ฉ์:** {msg['content']}")
|
54 |
else:
|
55 |
st.write(f"**AI:** {msg['content']}")
|
56 |
+
|