import gradio as gr import os from utils import read_video, save_video from trackers import Tracker from team_assigner import TeamAssigner from player_ball_assigner import PlayerBallAssigner from camera_movement_estimator import CameraMovementEstimator from view_transformer import ViewTransformer from speed_and_distance_estimator import SpeedAndDistance_Estimator def greet(name): return "Hello " + name + "!!" demo = gr.Interface(fn=greet, inputs="text", outputs="text") demo.launch()