Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def huggingface_login():
|
|
53 |
print(f"Error during Hugging Face login: {e}")
|
54 |
raise
|
55 |
|
56 |
-
|
57 |
def start_gradio_demo():
|
58 |
"""
|
59 |
Start the Gradio demo.
|
@@ -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.
|
|
|
53 |
print(f"Error during Hugging Face login: {e}")
|
54 |
raise
|
55 |
|
56 |
+
@spaces.GPU(duration=120)
|
57 |
def start_gradio_demo():
|
58 |
"""
|
59 |
Start the Gradio demo.
|
|
|
93 |
print(f"Error modifying file {file_path}: {e}")
|
94 |
raise
|
95 |
|
96 |
+
|
97 |
def main():
|
98 |
"""
|
99 |
Main function to perform all operations.
|