ShaoTengLiu commited on
Commit
aa1f936
1 Parent(s): 5af857a
Files changed (1) hide show
  1. trainer.py +4 -4
trainer.py CHANGED
@@ -73,10 +73,10 @@ class Trainer:
73
  remove_gpu_after_training: bool,
74
  input_token: str,
75
  ) -> str:
76
- if SPACE_ID == ORIGINAL_SPACE_ID:
77
- raise gr.Error(
78
- 'This Space does not work on this Shared UI. Duplicate the Space and attribute a GPU'
79
- )
80
  if not torch.cuda.is_available():
81
  raise gr.Error('CUDA is not available.')
82
  if training_video is None:
 
73
  remove_gpu_after_training: bool,
74
  input_token: str,
75
  ) -> str:
76
+ # if SPACE_ID == ORIGINAL_SPACE_ID:
77
+ # raise gr.Error(
78
+ # 'This Space does not work on this Shared UI. Duplicate the Space and attribute a GPU'
79
+ # )
80
  if not torch.cuda.is_available():
81
  raise gr.Error('CUDA is not available.')
82
  if training_video is None: