Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,12 +87,6 @@ extract_text_tool = Tool(
|
|
| 87 |
description="Retrieves text from an image."
|
| 88 |
)
|
| 89 |
|
| 90 |
-
model = HfApiModel(
|
| 91 |
-
max_tokens=2096,
|
| 92 |
-
temperature=0.5,
|
| 93 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 94 |
-
custom_role_conversions=None,
|
| 95 |
-
)
|
| 96 |
|
| 97 |
chat = ChatOllama(model=model, verbose=True)
|
| 98 |
print(f"Model {chat.model} downloaded!")
|
|
|
|
| 87 |
description="Retrieves text from an image."
|
| 88 |
)
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
chat = ChatOllama(model=model, verbose=True)
|
| 92 |
print(f"Model {chat.model} downloaded!")
|