pelinbalci commited on
Commit
632dffb
1 Parent(s): f2b00cb
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
1
  import gradio as gr
2
 
3
- gr.load("models/meta-llama/Llama-2-7b-chat-hf").launch()
 
 
1
+ import os
2
  import gradio as gr
3
 
4
+ api_key = os.get_env("HF_KEY")
5
+ gr.load("models/meta-llama/Llama-2-7b-chat-hf", api_key=api_key).launch()