Pravalika56 commited on
Commit
0c5f555
·
verified ·
1 Parent(s): 3ea5405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  from PIL import Image
5
 
6
  model = torch.hub.load('pytorch/vision:v0.10.0', 'resnet18', pretrained = True).eval()
7
- response = request.get("https://git.io/JJkYN")
8
  labels = response.text.split("\n")
9
 
10
  def get_predictions(inp):
 
4
  from PIL import Image
5
 
6
  model = torch.hub.load('pytorch/vision:v0.10.0', 'resnet18', pretrained = True).eval()
7
+ response = requests.get("https://git.io/JJkYN")
8
  labels = response.text.split("\n")
9
 
10
  def get_predictions(inp):