Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,13 +15,14 @@ from pathlib import Path
|
|
15 |
|
16 |
# ---------------------- DEPENDENCIES ----------------------
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
25 |
|
26 |
# ---------------------- UTILITY FUNCTIONS ----------------------
|
27 |
|
|
|
15 |
|
16 |
# ---------------------- DEPENDENCIES ----------------------
|
17 |
|
18 |
+
#No longer needed
|
19 |
+
#def install_dependencies_gradio():
|
20 |
+
# """Installs the necessary dependencies for the Gradio app. Run this ONCE."""
|
21 |
+
# try:
|
22 |
+
# !pip install -U torch diffusers transformers accelerate safetensors huggingface_hub xformers
|
23 |
+
# print("Dependencies installed successfully.")
|
24 |
+
# except Exception as e:
|
25 |
+
# print(f"Error installing dependencies: {e}")
|
26 |
|
27 |
# ---------------------- UTILITY FUNCTIONS ----------------------
|
28 |
|