Spaces:
Runtime error
Runtime error
Create app.py
Browse files
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)
|