Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ for message in st.session_state.messages:
|
|
32 |
with st.chat_message(message["role"]):
|
33 |
st.markdown(message["content"])
|
34 |
|
35 |
-
# Set cache directory path
|
36 |
-
cache_dir = "
|
37 |
|
38 |
# Load model and tokenizer on-demand to save memory
|
39 |
if prompt := st.chat_input(f"مرحبا انا سبيدي , كيف استطيع مساعدتك ؟"):
|
|
|
32 |
with st.chat_message(message["role"]):
|
33 |
st.markdown(message["content"])
|
34 |
|
35 |
+
# Set cache directory path to /data
|
36 |
+
cache_dir = "/data" # المسار المحدد للتخزين في مساحة Hugging Face
|
37 |
|
38 |
# Load model and tokenizer on-demand to save memory
|
39 |
if prompt := st.chat_input(f"مرحبا انا سبيدي , كيف استطيع مساعدتك ؟"):
|