julien-c's picture
julien-c HF staff
Upload folder using huggingface_hub
4446d89 verified
import gradio as gr
from gradio_hubquicksearch import HubQuicksearch
example = HubQuicksearch().example_value()
demo = gr.Interface(
lambda x:x,
HubQuicksearch(label="repo id from the hub"), # interactive version of your component
HubQuicksearch(), # static version of your component
# examples=[[example]], # uncomment this line to view the "example version" of your component
)
if __name__ == "__main__":
demo.launch()