Spaces:
Sleeping
Sleeping
Update app.py
Browse files202311011-1229
app.py
CHANGED
@@ -30,6 +30,7 @@ class KwArgsModel(BaseModel):
|
|
30 |
kwargs: Dict[str, Any] = Field(default_factory=dict)
|
31 |
|
32 |
class CustomInferenceClient(LLM, KwArgsModel):
|
|
|
33 |
model_name: str
|
34 |
inference_client: InferenceClient
|
35 |
|
|
|
30 |
kwargs: Dict[str, Any] = Field(default_factory=dict)
|
31 |
|
32 |
class CustomInferenceClient(LLM, KwArgsModel):
|
33 |
+
__metaclass__ = type(LLM)
|
34 |
model_name: str
|
35 |
inference_client: InferenceClient
|
36 |
|