Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
HYPERBOLIC_API_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkbGQxMDJAZ2VvcmdldG93bi5lZHUiLCJpYXQiOjE3MzY3OTY3MzN9.X8TnvcW_57SZKMyCDEgFp7oaiHaP6-ZqTDjyz-sLNXM"
|
app.py
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import hyperbolic_gradio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
gr.load(
|
| 5 |
name='meta-llama/Meta-Llama-3-70B-Instruct',
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import hyperbolic_gradio
|
| 3 |
+
from dotenv import load_dotenv
|
| 4 |
+
|
| 5 |
+
load_dotenv()
|
| 6 |
+
|
| 7 |
+
hyperbolic_api_key = os.getenv('HYPERBOLIC_API_KEY')
|
| 8 |
|
| 9 |
gr.load(
|
| 10 |
name='meta-llama/Meta-Llama-3-70B-Instruct',
|