Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,8 +113,8 @@ def setup_model(loaded_model_setup, prompt, model, seed, num_iterations, enable_
|
|
| 113 |
# Update the prompt in the loaded_model_setup
|
| 114 |
loaded_model_setup[0].prompt = prompt
|
| 115 |
|
| 116 |
-
return f"{model} model already loaded with the same configuration.", loaded_model_setup
|
| 117 |
-
|
| 118 |
# Attempt to set up the model
|
| 119 |
try:
|
| 120 |
# If other args differ, proceed with the setup
|
|
|
|
| 113 |
# Update the prompt in the loaded_model_setup
|
| 114 |
loaded_model_setup[0].prompt = prompt
|
| 115 |
|
| 116 |
+
return f"{model} model already loaded with the same configuration.", loaded_model_setup
|
| 117 |
+
|
| 118 |
# Attempt to set up the model
|
| 119 |
try:
|
| 120 |
# If other args differ, proceed with the setup
|