Spaces:
Running
on
Zero
Running
on
Zero
app.py
CHANGED
@@ -99,7 +99,7 @@ def create_demo():
|
|
99 |
# return "Error: Please select exactly two models to compare.", ""
|
100 |
responses = generate_text_local(
|
101 |
#message, [], system_message, max_tokens, temperature, top_p, selected_models
|
102 |
-
selected_models[0],
|
103 |
message
|
104 |
)
|
105 |
#return responses.get(selected_models[0], ""), responses.get(selected_models[1], "")
|
|
|
99 |
# return "Error: Please select exactly two models to compare.", ""
|
100 |
responses = generate_text_local(
|
101 |
#message, [], system_message, max_tokens, temperature, top_p, selected_models
|
102 |
+
model_options[selected_models[0]],
|
103 |
message
|
104 |
)
|
105 |
#return responses.get(selected_models[0], ""), responses.get(selected_models[1], "")
|