Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from transformers import DPTImageProcessor
|
|
5 |
import gradio as gr
|
6 |
import matplotlib.pyplot as plt
|
7 |
from mpl_toolkits.mplot3d import Axes3D
|
|
|
8 |
|
9 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
10 |
|
|
|
5 |
import gradio as gr
|
6 |
import matplotlib.pyplot as plt
|
7 |
from mpl_toolkits.mplot3d import Axes3D
|
8 |
+
import torch.nn as nn
|
9 |
|
10 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
11 |
|