Spaces:
Runtime error
Runtime error
Update app.py
#7
by
AlexWortega
- opened
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import gradio as gr
|
|
| 4 |
import torch
|
| 5 |
from torch import autocast
|
| 6 |
from kandinsky2 import get_kandinsky2
|
|
|
|
| 7 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 8 |
|
| 9 |
|
|
|
|
| 4 |
import torch
|
| 5 |
from torch import autocast
|
| 6 |
from kandinsky2 import get_kandinsky2
|
| 7 |
+
|
| 8 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 9 |
|
| 10 |
|