Spaces:
Runtime error
Runtime error
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("chemouda/medical_coding", hf_token=read_key, src="spaces")
|
8 |
+
|
9 |
+
demo.queue(concurrency_count=10, max_size=20)
|
10 |
+
demo.launch()
|