Spaces:
Runtime error
Runtime error
pelinbalci
commited on
Commit
•
632dffb
1
Parent(s):
f2b00cb
api key
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
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()
|