Roy310 commited on
Commit
3d78dc6
·
verified ·
1 Parent(s): d275b85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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