File size: 324 Bytes
6a81a9e
 
 
 
 
91ecea2
 
 
 
 
6a81a9e
91ecea2
1
2
3
4
5
6
7
8
9
10
11
12
import os
import gradio as gr

read_key = os.environ.get('HF_TOKEN', None)

#with gr.Blocks() as demo:
#    gr.load("chemouda/arome", hf_token=read_key, src="spaces")
    
iface = gr.load(name="chemouda/arome", hf_token=read_key, src="spaces")
iface.queue(api_open=False).launch(show_api=False)

#demo.launch(show_api=False)