File size: 271 Bytes
c4fc724
ffa1bb0
 
c4fc724
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import os
import gradio as gr

# Access the API key from environment variables
api_key = os.getenv("HF_API_KEY")

# Configure any necessary settings using the API key, if needed
# Load and launch your model
gr.load("models/meta-llama/Meta-Llama-3-70B-Instruct").launch()