Make work for both debug and live

This commit is contained in:
2026-02-16 09:57:52 -08:00
parent 179ffb0fbf
commit e26fd7a3fc
2 changed files with 10 additions and 9 deletions
+6 -2
View File
@@ -16,8 +16,12 @@ if (!app.Environment.IsDevelopment()) {
app.UseHsts();
}
// Load the module in globally
AIModule interopModule = new AIModule();
// Load the module in globally and use correct path for local or docker runners
#if DEBUG
AIModule interopModule = new AIModule(PythonPathBase: "/usr/", PythonVersion: "python3.11");
#else
AIModule interopModule = new AIModule();
#endif
// Run this for testing purposes
interopModule.TestAI();