Spaces:
Build error
Build error
DM
commited on
Commit
·
85f5e36
1
Parent(s):
a5e0580
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 3 |
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import torch
|
| 3 |
+
import numpy as np
|
| 4 |
+
import modin.pandas as pd
|
| 5 |
+
from PIL import Image
|
| 6 |
+
from diffusers import DiffusionPipeline
|
| 7 |
+
|
| 8 |
|
| 9 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 10 |
|