arome_ai / app.py
chemouda's picture
Update app.py
91ecea2 verified
raw
history blame contribute delete
324 Bytes
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)