Baraaqasem commited on
Commit
8a6355e
1 Parent(s): 8473106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,6 +1,6 @@
1
- import requests
2
 
3
- url = "https://api.telegram.org/bot7865424971:AAF_Oe6lu8ZYAl5XIF1M6qU_8MK6GHWEll8/getMe"
4
- response = requests.get(url)
5
 
6
- print(response.json())
 
1
+ import videogen_hub
2
 
3
+ model = videogen_hub.load('VideoCrafter2')
4
+ video = model.infer_one_video(prompt="A child excitedly swings on a rusty swing set, laughter filling the air.")
5
 
6
+ # Here video is a torch tensor of shape torch.Size([16, 3, 320, 512])