Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ image_captioning_model = HuggingFaceEndpoint(
|
|
| 15 |
max_new_tokens=1024,
|
| 16 |
)
|
| 17 |
math_llm=HuggingFaceEndpoint(
|
| 18 |
-
endpoint_url="https://api-inference.huggingface.co/models/
|
| 19 |
huggingfacehub_api_token=os.getenv("HUGGING_FACE_API"), # Ensure you set this in your environment
|
| 20 |
temperature=0.7,
|
| 21 |
max_new_tokens=1024,)
|
|
|
|
| 15 |
max_new_tokens=1024,
|
| 16 |
)
|
| 17 |
math_llm=HuggingFaceEndpoint(
|
| 18 |
+
endpoint_url="https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Math-7B-Instruct",
|
| 19 |
huggingfacehub_api_token=os.getenv("HUGGING_FACE_API"), # Ensure you set this in your environment
|
| 20 |
temperature=0.7,
|
| 21 |
max_new_tokens=1024,)
|