jingyangcarl commited on
Commit
52e266e
·
1 Parent(s): ee9e7ab

debug zerogpu

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -101,7 +101,7 @@ class Model:
101
  def get_prompt(self, prompt: str, additional_prompt: str) -> str:
102
  return additional_prompt if not prompt else f"{prompt}, {additional_prompt}"
103
 
104
- @spaces.GPU #[uncomment to use ZeroGPU]
105
  @torch.autocast("cuda")
106
  def run_pipe(
107
  self,
 
101
  def get_prompt(self, prompt: str, additional_prompt: str) -> str:
102
  return additional_prompt if not prompt else f"{prompt}, {additional_prompt}"
103
 
104
+ # @spaces.GPU #[uncomment to use ZeroGPU]
105
  @torch.autocast("cuda")
106
  def run_pipe(
107
  self,