Duskfallcrew commited on
Commit
5fa0056
·
verified ·
1 Parent(s): f129eea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -15,13 +15,14 @@ from pathlib import Path
15
 
16
  # ---------------------- DEPENDENCIES ----------------------
17
 
18
- def install_dependencies_gradio():
19
- """Installs the necessary dependencies for the Gradio app. Run this ONCE."""
20
- try:
21
- pip install -U torch diffusers transformers accelerate safetensors huggingface_hub xformers
22
- print("Dependencies installed successfully.")
23
- except Exception as e:
24
- print(f"Error installing dependencies: {e}")
 
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