from app_huggingface import demo as demo_huggingface from app_mistral import demo as demo_mistral from utils import get_app # Create mapping of providers to their demos PROVIDERS = { "Mistral": demo_mistral, # "Huggingface": demo_huggingface, } demo = get_app( models=list(PROVIDERS.keys()), default_model="Mistral", src=PROVIDERS, dropdown_label="Select Provider", ) if __name__ == "__main__": demo.queue(api_open=False).launch(show_api=False)