Adityadn commited on
Commit
48f2a7c
·
verified ·
1 Parent(s): ae5ae93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -58,7 +58,7 @@ def process():
58
  additional_arguments = ["--always-cpu"]
59
 
60
  # Gabungkan semua argumen
61
- PIP = ["pip", " install", "-r", "requirements.txt"]
62
  command = ["python", python_script] + additional_arguments
63
 
64
  # Jalankan skrip menggunakan subprocess
@@ -66,11 +66,8 @@ def process():
66
  subprocess.run(command)# Menjalankan file batch
67
 
68
  print(PIP)
69
- print(
70
- f"""
71
- {command}
72
- Running..
73
- """)
74
  # subprocess.run([batch_file_path], shell=True)
75
 
76
  process()
 
58
  additional_arguments = ["--always-cpu"]
59
 
60
  # Gabungkan semua argumen
61
+ PIP = ["pip", "install", "-r", "requirements.txt"]
62
  command = ["python", python_script] + additional_arguments
63
 
64
  # Jalankan skrip menggunakan subprocess
 
66
  subprocess.run(command)# Menjalankan file batch
67
 
68
  print(PIP)
69
+ print(f"""{command}
70
+ Running..""")
 
 
 
71
  # subprocess.run([batch_file_path], shell=True)
72
 
73
  process()