Spaces:
Runtime error
Runtime error
Delete app_minimax.py
Browse files- app_minimax.py +0 -22
app_minimax.py
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
import ai_gradio
|
2 |
-
|
3 |
-
from utils_ai_gradio import get_app
|
4 |
-
|
5 |
-
# Get the hyperbolic models but keep their full names for loading
|
6 |
-
MINIMAX_MODELS_FULL = [k for k in ai_gradio.registry.keys() if k.startswith("minimax:")]
|
7 |
-
|
8 |
-
# Create display names without the prefix
|
9 |
-
MINIMAX_MODELS_DISPLAY = [k.replace("minimax:", "") for k in MINIMAX_MODELS_FULL]
|
10 |
-
|
11 |
-
|
12 |
-
# Create and launch the interface using get_app utility
|
13 |
-
demo = get_app(
|
14 |
-
models=MINIMAX_MODELS_FULL, # Use the full names with prefix
|
15 |
-
default_model=MINIMAX_MODELS_FULL[0],
|
16 |
-
dropdown_label="Select Minimax Model",
|
17 |
-
choices=MINIMAX_MODELS_DISPLAY, # Display names without prefix
|
18 |
-
fill_height=True,
|
19 |
-
)
|
20 |
-
|
21 |
-
if __name__ == "__main__":
|
22 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|