Spaces:
Running
on
Zero
Running
on
Zero
Staticaliza
commited on
Commit
•
269bc1d
1
Parent(s):
cc4d44c
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def encode_video(video_path):
|
|
47 |
|
48 |
@spaces.GPU(duration=60)
|
49 |
def generate(image, video, instruction=DEFAULT_INPUT, sampling=False, temperature=0.7, top_p=0.8, top_k=100, repetition_penalty=1.05, max_tokens=512):
|
50 |
-
repo.to(DEVICE)
|
51 |
|
52 |
print(image)
|
53 |
print(video)
|
|
|
47 |
|
48 |
@spaces.GPU(duration=60)
|
49 |
def generate(image, video, instruction=DEFAULT_INPUT, sampling=False, temperature=0.7, top_p=0.8, top_k=100, repetition_penalty=1.05, max_tokens=512):
|
50 |
+
# repo.to(DEVICE)
|
51 |
|
52 |
print(image)
|
53 |
print(video)
|