Wassim commited on
Commit
5e814f6
1 Parent(s): d7351ab

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import gradio as gr
3
+
4
+ read_key = os.environ.get('hf_space_api_key', None)
5
+
6
+ with gr.Blocks() as demo:
7
+ gr.load("Wassim/youtube-assistant", hf_token=read_key, src="spaces")
8
+
9
+ demo.launch(max_threads=10)