File size: 234 Bytes
9bdb839
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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()