Intellectualtech commited on
Commit
fb0adfa
·
verified ·
1 Parent(s): dfb5c98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
16
  # Initialize the InferenceClient with API token
17
  try:
18
  client = InferenceClient(
19
- model="google/flan-t5-base", # Switch to a publicly accessible model
20
  token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
21
  )
22
  logger.info("Successfully initialized InferenceClient")
 
16
  # Initialize the InferenceClient with API token
17
  try:
18
  client = InferenceClient(
19
+ model="meta-llama/Llama-2-7b-chat-hf", # Updated to the requested model
20
  token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
21
  )
22
  logger.info("Successfully initialized InferenceClient")