Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,14 +73,8 @@ def get_markdown_get(request: Request, url: str):
|
|
73 |
if __name__ == "__main__":
|
74 |
import subprocess
|
75 |
|
76 |
-
command = "camoufox fetch"
|
77 |
-
|
78 |
try:
|
79 |
-
|
80 |
-
command,
|
81 |
-
shell=True
|
82 |
-
)
|
83 |
-
|
84 |
print("Command executed successfully!")
|
85 |
except Exception as e:
|
86 |
print(f"An unexpected error occurred: {e}")
|
|
|
73 |
if __name__ == "__main__":
|
74 |
import subprocess
|
75 |
|
|
|
|
|
76 |
try:
|
77 |
+
subprocess.run(['camoufox', 'fetch'], check=True)
|
|
|
|
|
|
|
|
|
78 |
print("Command executed successfully!")
|
79 |
except Exception as e:
|
80 |
print(f"An unexpected error occurred: {e}")
|