chemouda commited on
Commit
6a81a9e
1 Parent(s): 55949f7

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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("chemouda/arome", hf_token=read_key, src="spaces")
8
+
9
+ demo.queue(concurrency_count=10, max_size=20)
10
+ demo.launch()