bentobytes commited on
Commit
eed3784
·
1 Parent(s): 2ebef7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import gradio as gr
 
 
2
 
3
- #gr.Interface.load("models/jinhybr/OCR-Donut-CORD").launch()
4
- gr.load(name="spaces/bentobytes/LawGPT", hf_*****="hfkey").launch()
 
 
1
  import gradio as gr
2
+ from dotenv import load_dotenv
3
+ load_dotenv()
4
 
5
+ hfkey = os.getenv('hfkey')
6
+
7
+ gr.load(name="spaces/bentobytes/LawGPT", api_key="hfkey").launch()