Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines4567891011121314151617181920213 unmodified linestry:from api import consult_logic, generate_doc_logicprint("✅ Logic successfully connected from api.py")except ImportError as e:print(f"❌ IMPORT ERROR: {e}")async def consult_logic(msg):return {"content": f"Logic Error: {e}"}async def generate_doc_logic(msg):return {"content": f"Logic Error: {e}"}async def main_interface(user_text):3 unmodified lines4567891011121314151617183 unmodified linestry:from api import consult_logic, generate_doc_logicprint("✅ Logic successfully connected from api.py")except Exception as e:error_text = str(e)print(f"❌ IMPORT/LOGIC ERROR: {error_text}")async def consult_logic(msg):return {"content": f"System Logic Error: {error_text}"}async def generate_doc_logic(msg):return {"content": f"System Logic Error: {error_text}"}async def main_interface(user_text):
app.py+6-9