kenken999's picture
m
e2444ac
raw
history blame
233 Bytes
import gradio as gr
class InputComponent:
"""Input component for the Gradio app"""
def __init__(self, label: str, component_type: gr.Component):
self.label = label
self.component = component_type(label=label)