Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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' 🤔
|