Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,12 @@
|
|
| 1 |
-
import os
|
| 2 |
import streamlit as st
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
from macg.llm_hf import HuggingFaceInferenceLLM
|
| 5 |
from macg.agents.coder import CoderAgent
|
| 6 |
from macg.agents.reviewer import ReviewerAgent
|
|
|
|
| 1 |
+
import os, sys, glob
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
+
st.write("PYTHONPATH =", os.getenv("PYTHONPATH"))
|
| 5 |
+
st.write("sys.path =", sys.path)
|
| 6 |
+
st.write("/app/src exists?", os.path.exists("/app/src"))
|
| 7 |
+
st.write("/app/src/macg exists?", os.path.exists("/app/src/macg"))
|
| 8 |
+
st.write("Files in /app/src/macg:", glob.glob("/app/src/macg/*"))
|
| 9 |
+
|
| 10 |
from macg.llm_hf import HuggingFaceInferenceLLM
|
| 11 |
from macg.agents.coder import CoderAgent
|
| 12 |
from macg.agents.reviewer import ReviewerAgent
|