Spaces:
Runtime error
Runtime error
Commit
·
8436011
1
Parent(s):
ef29bef
api
Browse files
app.py
CHANGED
|
@@ -84,7 +84,6 @@ sample_vid = gr.Video(label='Video file') #for displaying the example
|
|
| 84 |
example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path] for path in sample_video], type='values', label='Video Examples')
|
| 85 |
|
| 86 |
def main():
|
| 87 |
-
btn.click(add, [num1, num2], output, api_name="addition")
|
| 88 |
args = parse_args()
|
| 89 |
args.device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 90 |
print('*** Now using %s.'%(args.device))
|
|
|
|
| 84 |
example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path] for path in sample_video], type='values', label='Video Examples')
|
| 85 |
|
| 86 |
def main():
|
|
|
|
| 87 |
args = parse_args()
|
| 88 |
args.device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 89 |
print('*** Now using %s.'%(args.device))
|