shamik commited on
Commit
51105ad
β€’
1 Parent(s): b13f01f

updated app.py.

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,7 +1,4 @@
1
  from huggingface_hub import InferenceClient
2
- import os
3
-
4
- HF_TOKEN = os.environ.get("HF_TOKEN", None)
5
 
6
  client = InferenceClient(
7
  "meta-llama/Meta-Llama-3-8B-Instruct"
@@ -84,5 +81,6 @@ gr.ChatInterface(
84
  examples=[
85
  ["Can you explain briefly to me what is the Python programming language?"],
86
  ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
87
- ]
 
88
  ).launch(show_api=False)
 
1
  from huggingface_hub import InferenceClient
 
 
 
2
 
3
  client = InferenceClient(
4
  "meta-llama/Meta-Llama-3-8B-Instruct"
 
81
  examples=[
82
  ["Can you explain briefly to me what is the Python programming language?"],
83
  ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
84
+ ],
85
+ cache_examples=True
86
  ).launch(show_api=False)