Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,11 +7,16 @@ 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 |
-
|
| 11 |
-
from macg.
|
| 12 |
-
from macg.agents.
|
| 13 |
-
from macg.agents.
|
| 14 |
-
from macg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
st.set_page_config(page_title="Multi-Agent Codegen (HF)", layout="wide")
|
| 17 |
|
|
|
|
| 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 |
+
try:
|
| 11 |
+
from macg.llm_hf import HuggingFaceInferenceLLM
|
| 12 |
+
from macg.agents.coder import CoderAgent
|
| 13 |
+
from macg.agents.reviewer import ReviewerAgent
|
| 14 |
+
from macg.agents.tester import TesterAgent
|
| 15 |
+
from macg.orchestrator import Orchestrator
|
| 16 |
+
st.success("Imports OK ✅")
|
| 17 |
+
except Exception as e:
|
| 18 |
+
st.error(f"Import failed: {e}")
|
| 19 |
+
st.stop()
|
| 20 |
|
| 21 |
st.set_page_config(page_title="Multi-Agent Codegen (HF)", layout="wide")
|
| 22 |
|