Spaces:
Runtime error
Runtime error
Add application file
Browse files
app.py
CHANGED
@@ -2,6 +2,5 @@
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
-
os.environ
|
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()
|
|