Spaces:
Runtime error
Runtime error
aaqibsaeed
commited on
Commit
•
f386ac7
1
Parent(s):
35953a7
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
read_key = os.environ.get('HF_TOKEN', None)
|
5 |
+
|
6 |
+
with gr.Blocks() as demo:
|
7 |
+
gr.load("aaqibsaeed/WbjkkRJBPxkB", hf_token=read_key, src="spaces")
|
8 |
+
|
9 |
+
demo.queue(concurrency_count=10, max_size=20)
|
10 |
+
demo.launch()
|