Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
"""
|
@@ -6,7 +7,7 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
6 |
"""
|
7 |
|
8 |
client = InferenceClient("meta-llama/Meta-Llama-3.1-8B")
|
9 |
-
|
10 |
# client = InferenceClient(model="meta-llama/Meta-Llama-3.1-8B")
|
11 |
|
12 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
from huggingface_hub import InferenceClient
|
4 |
|
5 |
"""
|
|
|
7 |
"""
|
8 |
|
9 |
client = InferenceClient("meta-llama/Meta-Llama-3.1-8B")
|
10 |
+
access_token=os.getenv("access_token")
|
11 |
# client = InferenceClient(model="meta-llama/Meta-Llama-3.1-8B")
|
12 |
|
13 |
|