Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
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()
|