jingwora commited on
Commit
67ea31a
·
1 Parent(s): ec27b35

Add application file

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -2,6 +2,5 @@
2
  import gradio as gr
3
  import os
4
 
5
- os.environ['API_KEY']
6
-
7
- gr.load("spaces/jingwora/language-PDF-extractor-QA").launch()
 
2
  import gradio as gr
3
  import os
4
 
5
+ api_key = os.environ.get('API_KEY')
6
+ gr.load("spaces/jingwora/language-PDF-extractor-QA", api_key=api_key).launch()