LittleFrog commited on
Commit
9475268
·
verified ·
1 Parent(s): 80c3412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def start_gradio_demo():
59
  """
60
  try:
61
  print("Starting Gradio demo...")
62
- subprocess.run(["python", "-m", "src.demo.gradio_demo", "--hf", "--downsample", "--cpu"], check=True)
63
  except subprocess.CalledProcessError as e:
64
  print(f"Error starting Gradio demo: {e}")
65
  raise
@@ -109,7 +109,7 @@ def main():
109
  clone_and_initialize_repo(repo_url, target_dir)
110
 
111
  # Modify the specified file
112
- modify_file(file_to_modify)
113
 
114
  # Log in to Hugging Face
115
  huggingface_login()
 
59
  """
60
  try:
61
  print("Starting Gradio demo...")
62
+ subprocess.run(["python", "-m", "src.demo.gradio_demo", "--hf", "--downsample"], check=True)
63
  except subprocess.CalledProcessError as e:
64
  print(f"Error starting Gradio demo: {e}")
65
  raise
 
109
  clone_and_initialize_repo(repo_url, target_dir)
110
 
111
  # Modify the specified file
112
+ # modify_file(file_to_modify)
113
 
114
  # Log in to Hugging Face
115
  huggingface_login()