Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
agiragri
/
common
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
common
/
model
/
ModelStrategy.py
[email protected]
Implement model integration strategy and selector for multiple AI models
ea077e1
4 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
133 Bytes
from
abc
import
ABC, abstractmethod
class
ModelStrategy
(
ABC
):
@abstractmethod
def
get_model
(
self, model_name
):
pass