Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 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")
|