Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -262,7 +262,7 @@ with gr.Blocks() as demo:
|
|
262 |
# Check if we can access Mistral model
|
263 |
try:
|
264 |
from huggingface_hub import model_info
|
265 |
-
info = model_info("
|
266 |
status.append(f"β
Access to Mistral model verified: {info.modelId}")
|
267 |
except Exception as e:
|
268 |
status.append(f"β Cannot access Mistral model: {str(e)}")
|
|
|
262 |
# Check if we can access Mistral model
|
263 |
try:
|
264 |
from huggingface_hub import model_info
|
265 |
+
info = model_info(" {model_name}", token=hf_token)
|
266 |
status.append(f"β
Access to Mistral model verified: {info.modelId}")
|
267 |
except Exception as e:
|
268 |
status.append(f"β Cannot access Mistral model: {str(e)}")
|