Skip to content
Permalink
Browse files

Merge pull request #426 from hcmlab/develop

updated documentation, minor changes
  • Loading branch information...
tobiasbaur committed Sep 25, 2019
2 parents 9a19206 + 822c97b commit 4d5fdc679cf40e380baf705d9cbe9f785c650cb8
Showing with 438 additions and 232 deletions.
  1. +11 −2 Controls/MainHandlerExplanation.cs
  2. +0 −1 Controls/Other/ExplanationWindow.xaml.cs
  3. BIN bin/nova.exe
  4. +427 −229 docs/index.html
@@ -422,7 +422,6 @@ public static int startExplanationBackend()

Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();

try
{

@@ -431,7 +430,9 @@ public static int startExplanationBackend()
startInfo.FileName = "\"" + AppDomain.CurrentDomain.BaseDirectory + "python\\python.exe" + "\"";
startInfo.Arguments = "\"" + AppDomain.CurrentDomain.BaseDirectory + "PythonScripts\\explanation_backend.py" + "\"";
process.StartInfo = startInfo;

process.Start();


return process.Id;
}
@@ -454,7 +455,15 @@ public static void killExplanationBackend()
{
if (prs.Id == MainHandler.xaiProcessId)
{
prs.Kill();
if(Properties.Settings.Default.EnablePythonDebug)
{
prs.CloseMainWindow();
}
else
{
prs.Kill();
}

break;
}
}
@@ -30,7 +30,6 @@ public partial class ExplanationWindow : Window
{

public string modelPath;
private readonly BackgroundWorker worker;
public byte[] img;
public bool getNewExplanation;
public BitmapImage explainedImg;
BIN +0 Bytes (100%) bin/nova.exe
Binary file not shown.

0 comments on commit 4d5fdc6

Please sign in to comment.
You can’t perform that action at this time.