Tanusree88 commited on
Commit
2310df1
1 Parent(s): b801afc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -6,6 +6,9 @@ from transformers import SegformerForImageSegmentation, ResNetForImageClassifica
6
  from PIL import Image
7
  from torch.utils.data import Dataset, DataLoader
8
  import streamlit as st
 
 
 
9
 
10
  # Function to extract zip files
11
  def extract_zip(zip_file, extract_to):
 
6
  from PIL import Image
7
  from torch.utils.data import Dataset, DataLoader
8
  import streamlit as st
9
+ import gradio as gr
10
+
11
+ gr.load("models/nvidia/segformer-b0-finetuned-ade-512-512").launch()
12
 
13
  # Function to extract zip files
14
  def extract_zip(zip_file, extract_to):