Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- Dockerfile +1 -1
- 🤖SQL_Agent.py +2 -2
Dockerfile
CHANGED
|
@@ -6,7 +6,7 @@ WORKDIR /app
|
|
| 6 |
RUN apt-get update && apt-get install -y curl
|
| 7 |
|
| 8 |
# # Download the model
|
| 9 |
-
RUN curl -Lo qwen2.5-coder-3b-instruct-q4_k_m.gguf https://huggingface.co/Qwen/Qwen2.5-Coder-
|
| 10 |
|
| 11 |
# Install build tools required for llama-cpp-python
|
| 12 |
RUN apt-get update && apt-get install -y build-essential
|
|
|
|
| 6 |
RUN apt-get update && apt-get install -y curl
|
| 7 |
|
| 8 |
# # Download the model
|
| 9 |
+
RUN curl -Lo qwen2.5-coder-3b-instruct-q4_k_m.gguf https://huggingface.co/Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF/resolve/main/qwen2.5-coder-0.5b-instruct-q4_k_m.gguf?download=true
|
| 10 |
|
| 11 |
# Install build tools required for llama-cpp-python
|
| 12 |
RUN apt-get update && apt-get install -y build-essential
|
🤖SQL_Agent.py
CHANGED
|
@@ -164,11 +164,11 @@ with col2:
|
|
| 164 |
if not disabled_selection:
|
| 165 |
if selected == "uploaded_files":
|
| 166 |
selected_df = st.session_state.uploaded_dataframes
|
| 167 |
-
print(selected_df)
|
| 168 |
use_default_schema = False
|
| 169 |
else:
|
| 170 |
selected_df = default_dfs
|
| 171 |
-
print(selected_df)
|
| 172 |
use_default_schema = True
|
| 173 |
if selected_df == default_dfs:
|
| 174 |
with st.popover("Default Database Queries 📚 - Trial"):
|
|
|
|
| 164 |
if not disabled_selection:
|
| 165 |
if selected == "uploaded_files":
|
| 166 |
selected_df = st.session_state.uploaded_dataframes
|
| 167 |
+
# print(selected_df)
|
| 168 |
use_default_schema = False
|
| 169 |
else:
|
| 170 |
selected_df = default_dfs
|
| 171 |
+
# print(selected_df)
|
| 172 |
use_default_schema = True
|
| 173 |
if selected_df == default_dfs:
|
| 174 |
with st.popover("Default Database Queries 📚 - Trial"):
|