Spaces:
Runtime error
Runtime error
pelinbalci
commited on
Commit
•
0e73d02
1
Parent(s):
632dffb
fix
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
|
4 |
-
api_key = os.
|
5 |
gr.load("models/meta-llama/Llama-2-7b-chat-hf", api_key=api_key).launch()
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
|
4 |
+
api_key = os.getenv("HF_KEY")
|
5 |
gr.load("models/meta-llama/Llama-2-7b-chat-hf", api_key=api_key).launch()
|