mrfakename commited on
Commit
b79576d
1 Parent(s): cf449d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,4 +1,6 @@
1
- import subprocess, os, shutil, time, sys
 
 
2
 
3
  def setup_virtual_env():
4
  # Create a virtual environment directory
 
1
+ import subprocess, os, shutil, time, sys, platform
2
+ if platform.system() == 'Windows':
3
+ raise SystemError("You are trying to run this demo on **Windows**. Windows is not supported. If you would still like to try, remove lines 2 & 3 in the code to bypass this warning.")
4
 
5
  def setup_virtual_env():
6
  # Create a virtual environment directory