SynLayers commited on
Commit
b9a8a58
·
verified ·
1 Parent(s): 0047829

Upload demo/real_world_pipeline.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. demo/real_world_pipeline.py +4 -1
demo/real_world_pipeline.py CHANGED
@@ -358,7 +358,10 @@ def run_real_world_pipeline(
358
  run_name: str = DEFAULT_RUN_NAME,
359
  ) -> dict:
360
  if not torch.cuda.is_available():
361
- raise RuntimeError("CUDA GPU is required for the unified SynLayers real-world pipeline.")
 
 
 
362
 
363
  image_path = Path(image_path)
364
  if not image_path.exists():
 
358
  run_name: str = DEFAULT_RUN_NAME,
359
  ) -> dict:
360
  if not torch.cuda.is_available():
361
+ raise RuntimeError(
362
+ "CUDA GPU is required for the unified SynLayers real-world pipeline. "
363
+ "On Hugging Face Spaces, assign GPU hardware such as A100 and rebuild the Space."
364
+ )
365
 
366
  image_path = Path(image_path)
367
  if not image_path.exists():