Nina-HK commited on
Commit
a8b4012
1 Parent(s): f4ffb3a

updating_import

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -2,11 +2,13 @@
2
 
3
  # %%capture
4
  # #Use capture to not show the output of installing the libraries!
5
-
6
- pip install tensorflow
7
- pip install gradio
8
-
9
  import gradio as gr
 
 
 
 
 
 
10
  import numpy as np
11
  import tensorflow as tf
12
  from transformers import pipeline
 
2
 
3
  # %%capture
4
  # #Use capture to not show the output of installing the libraries!
 
 
 
 
5
  import gradio as gr
6
+ import requests
7
+ import torch
8
+ import torch.nn as nn
9
+ from PIL import Image
10
+ from torchvision.models import resnet50
11
+ from torchvision.transforms import functional as F
12
  import numpy as np
13
  import tensorflow as tf
14
  from transformers import pipeline