bkoz commited on
Commit
8e2059a
·
verified ·
1 Parent(s): 1647ffa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  import spaces
3
  import torch
4
  from huggingface_hub import hf_hub_download
 
5
 
6
  zero = torch.Tensor([0]).cuda()
7
  print(zero.device) # <-- 'cpu' 🤔
 
2
  import spaces
3
  import torch
4
  from huggingface_hub import hf_hub_download
5
+ from llama_cpp import Llama, LlamaGrammar
6
 
7
  zero = torch.Tensor([0]).cuda()
8
  print(zero.device) # <-- 'cpu' 🤔