import os import gradio as gr read_key = os.environ.get('HF_TOKEN', None) with gr.Blocks() as demo: gr.load("chemouda/medical_coding", hf_token=read_key, src="spaces") demo.queue(concurrency_count=10, max_size=20) demo.launch()