Spaces:
Runtime error
Runtime error
ai-forever
commited on
Commit
β’
7d4c9c2
1
Parent(s):
78e5de6
Update app.py
Browse files
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 |
|