Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,12 @@
|
|
14 |
|
15 |
import gradio as gr
|
16 |
import spaces
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
import argparse
|
18 |
from model import SALMONN
|
19 |
|
|
|
14 |
|
15 |
import gradio as gr
|
16 |
import spaces
|
17 |
+
|
18 |
+
import torch
|
19 |
+
import types
|
20 |
+
torch.cuda.get_device_capability = lambda *args, **kwargs: (8, 6)
|
21 |
+
torch.cuda.get_device_properties = lambda *args, **kwargs: types.SimpleNamespace(name='NVIDIA A10G', major=8, minor=6, total_memory=23836033024, multi_processor_count=80)
|
22 |
+
|
23 |
import argparse
|
24 |
from model import SALMONN
|
25 |
|