刘虹雨 commited on
Commit
2f24813
·
1 Parent(s): a03dc36

update code

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def install_cuda_toolkit():
90
  print("[INFO] CUDA 12.1 installation complete. CUDA_HOME set to /usr/local/cuda")
91
 
92
  # 🔧 Set CUDA_HOME before anything else
93
- install_cuda_toolkit()
94
 
95
  # Configure logging settings
96
  logging.basicConfig(
@@ -678,6 +678,7 @@ css = """
678
  """
679
 
680
  def launch_gradio_app():
 
681
  styles = {
682
  "Ghibli": "Ghibli style avatar, anime style",
683
  "Pixar": "a 3D render of a face in Pixar style",
 
90
  print("[INFO] CUDA 12.1 installation complete. CUDA_HOME set to /usr/local/cuda")
91
 
92
  # 🔧 Set CUDA_HOME before anything else
93
+
94
 
95
  # Configure logging settings
96
  logging.basicConfig(
 
678
  """
679
 
680
  def launch_gradio_app():
681
+ install_cuda_toolkit()
682
  styles = {
683
  "Ghibli": "Ghibli style avatar, anime style",
684
  "Pixar": "a 3D render of a face in Pixar style",