tahercoolguy commited on
Commit
409006e
·
1 Parent(s): b470b1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ DESCRIPTION += '\n<p>For Colab usage, you can view <a href="https://colab.resear
36
  if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
37
  DESCRIPTION += f'\n<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
38
 
39
- # pipe = pipeline('text-to-video-synthesis', model_dir.as_posix())
40
 
41
 
42
  def generate(prompt: str, seed: int) -> str:
 
36
  if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
37
  DESCRIPTION += f'\n<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
38
 
39
+ globals pipe
40
 
41
 
42
  def generate(prompt: str, seed: int) -> str: