import git git_url = "https://github.com/ariG23498/clip_dinoiser.git" repo_dir = "clip_dinoiser" git.Repo.clone_from(git_url, repo_dir) import os from clip_dinoiser.models.builder import build_model from clip_dinoiser.utils.visualization import mask2rgb from clip_dinoiser.segmentation.datasets import PascalVOCDataset from hydra import compose, initialize from PIL import Image import matplotlib.pyplot as plt from torchvision import transforms as T import torch.nn.functional as F import numpy as np from operator import itemgetter import torch import warnings import gradio as gr def greet(name): return "Hello " + name + "!!" iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()