XibinBayesZhou commited on
Commit
faa9b07
1 Parent(s): 0e8c684

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+
4
+ hf_token = os.environ['GRADIO_API_KEY']
5
+
6
+ iface = gr.load(name="XibinBayesZhou/RAG", hf_token=hf_token, src="spaces")
7
+ iface.queue(api_open=False).launch(show_api=False)