zcaspar commited on
Commit
c4fc724
·
verified ·
1 Parent(s): ffa1bb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
 
1
  import gradio as gr
2
 
3
- gr.load("models/meta-llama/Meta-Llama-3-70B-Instruct").launch()
 
 
 
 
 
 
1
+ import os
2
  import gradio as gr
3
 
4
+ # Access the API key from environment variables
5
+ api_key = os.getenv("HF_API_KEY")
6
+
7
+ # Configure any necessary settings using the API key, if needed
8
+ # Load and launch your model
9
+ gr.load("models/meta-llama/Meta-Llama-3-70B-Instruct").launch()