LittleFrog commited on
Commit
b44f5bf
·
verified ·
1 Parent(s): d45f7f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  import subprocess
3
  from huggingface_hub import login
4
-
5
 
6
  def clone_and_initialize_repo(repo_url, target_dir):
7
  """
@@ -93,7 +93,7 @@ def modify_file(file_path):
93
  print(f"Error modifying file {file_path}: {e}")
94
  raise
95
 
96
-
97
  def main():
98
  """
99
  Main function to perform all operations.
 
1
  import os
2
  import subprocess
3
  from huggingface_hub import login
4
+ import spaces
5
 
6
  def clone_and_initialize_repo(repo_url, target_dir):
7
  """
 
93
  print(f"Error modifying file {file_path}: {e}")
94
  raise
95
 
96
+ @spaces.GPU(duration=120)
97
  def main():
98
  """
99
  Main function to perform all operations.