File size: 335 Bytes
2e036a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """
Header komponens
"""
import gradio as gr
from ui.utils import render
def create_header(
title="Rock-Paper-Scissors",
subtitle="Upload an image or use your webcam to detect hand gestures",
icon="🎮"
):
with gr.Row():
gr.HTML(render('header.html', title=title, subtitle=subtitle, icon=icon))
|