tahercoolguy commited on
Commit
b470b1a
1 Parent(s): 1d1a4f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -31,13 +31,12 @@ if not model_dir.exists():
31
  repo_type='model',
32
  local_dir=model_dir)
33
 
34
- DESCRIPTION = '# [ModelScope Text to Video Synthesis](https://modelscope.cn/models/damo/text-to-video-synthesis/summary)'
35
  DESCRIPTION += '\n<p>For Colab usage, you can view <a href="https://colab.research.google.com/drive/1uW1ZqswkQ9Z9bp5Nbo5z59cAn7I0hE6R?usp=sharing" style="text-decoration: underline;" target="_blank">this webpage</a>.(the latest update on 2023.03.21)</p>'
36
- DESCRIPTION += '\n<p>This model can only be used for non-commercial purposes. To learn more about the model, take a look at the <a href="https://huggingface.co/damo-vilab/modelscope-damo-text-to-video-synthesis" style="text-decoration: underline;" target="_blank">model card</a>.</p>'
37
  if (SPACE_ID := os.getenv('SPACE_ID')) is not None:
38
  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>'
39
 
40
- pipe = pipeline('text-to-video-synthesis', model_dir.as_posix())
41
 
42
 
43
  def generate(prompt: str, seed: int) -> str:
 
31
  repo_type='model',
32
  local_dir=model_dir)
33
 
34
+ DESCRIPTION = 'Saify Technologies Demonstration of Text to video which is first published on huggingface, For more info <a href="https://saifytech.com" style="text-decoration: underline;" target="_blank">click here</a> for AI generation systems'
35
  DESCRIPTION += '\n<p>For Colab usage, you can view <a href="https://colab.research.google.com/drive/1uW1ZqswkQ9Z9bp5Nbo5z59cAn7I0hE6R?usp=sharing" style="text-decoration: underline;" target="_blank">this webpage</a>.(the latest update on 2023.03.21)</p>'
 
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: