alexdatamed commited on
Commit
8dca939
·
verified ·
1 Parent(s): dbdba04

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
+ #token
5
+ token = os.getenv("HF_TOKEN")
6
+ assert token, "HF_TOKEN secret missing"
7
+
8
+ demo = gr.load("alexdatamed/SurgeryChatStats", src="spaces", token=token)
9
+ demo.launch()