Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,4 @@
|
|
1 |
import torch
|
2 |
-
from PIL import Image
|
3 |
-
import torchvision.transforms as transforms
|
4 |
-
import numpy as np
|
5 |
-
import json
|
6 |
-
import requests
|
7 |
-
import matplotlib.pyplot as plt
|
8 |
-
|
9 |
import gradio as gr
|
10 |
|
11 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
|
|
1 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|