Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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"
|
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()
|