File size: 211 Bytes
5e814f6
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import os
import gradio as gr

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

with gr.Blocks() as demo:
    gr.load("Wassim/youtube-assistant", hf_token=read_key, src="spaces")

demo.launch(max_threads=10)