bcci commited on
Commit
fe8c37e
·
verified ·
1 Parent(s): 6149ec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -72,6 +72,18 @@ def get_markdown_get(request: Request, url: str):
72
 
73
  if __name__ == "__main__":
74
  import subprocess
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  import uvicorn
77
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
72
 
73
  if __name__ == "__main__":
74
  import subprocess
75
+
76
+ command = "camoufox fetch"
77
+
78
+ try:
79
+ result = subprocess.run(
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}")
87
 
88
  import uvicorn
89
  uvicorn.run(app, host="0.0.0.0", port=7860)