vorstcavry commited on
Commit
8a7d2f7
1 Parent(s): ae730c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -219,7 +219,7 @@ import pathlib
219
  user_home = pathlib.Path("/home/user") # Gantilah dengan path yang sesuai
220
 
221
  args = [
222
- "executable",
223
  user_home / "stable-diffusion-webui" / "launch.py",
224
  "--precision", "full",
225
  "--no-half",
@@ -239,4 +239,4 @@ try:
239
  ret = subprocess.run(args)
240
  except Exception as e:
241
  print("Error:", e)
242
- del os ,user_home ,executable ,subprocess
 
219
  user_home = pathlib.Path("/home/user") # Gantilah dengan path yang sesuai
220
 
221
  args = [
222
+ executable,
223
  user_home / "stable-diffusion-webui" / "launch.py",
224
  "--precision", "full",
225
  "--no-half",
 
239
  ret = subprocess.run(args)
240
  except Exception as e:
241
  print("Error:", e)
242
+ del os ,user_home ,pyexecutable ,subprocess