Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
| 47 |
model.to(device)
|
| 48 |
print(device)
|
| 49 |
|
| 50 |
-
|
| 51 |
def get_output_video(text):
|
| 52 |
inputs = tokenizer(text,
|
| 53 |
max_length=1024,
|
|
|
|
| 47 |
model.to(device)
|
| 48 |
print(device)
|
| 49 |
|
| 50 |
+
#@spaces.GPU(duration=60 * 3)
|
| 51 |
def get_output_video(text):
|
| 52 |
inputs = tokenizer(text,
|
| 53 |
max_length=1024,
|