multimodalart HF Staff commited on
Commit
51b7c7d
·
verified ·
1 Parent(s): 66ba68e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,8 @@ import json
16
  import base64
17
  from huggingface_hub import InferenceClient
18
 
 
 
19
  dtype = torch.bfloat16
20
  device = "cuda" if torch.cuda.is_available() else "cpu"
21
 
 
16
  import base64
17
  from huggingface_hub import InferenceClient
18
 
19
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "spaces==0.43.0"])
20
+
21
  dtype = torch.bfloat16
22
  device = "cuda" if torch.cuda.is_available() else "cpu"
23