Spaces:
Sleeping
Sleeping
0.58 Spreadsheet row adjust
Browse files
app.py
CHANGED
@@ -242,7 +242,7 @@ def generate_both(system_prompt, input_text,
|
|
242 |
#system_prompt user_prompt max_new_tokens temperature top_p penalty bot_a_name bot_a_output bot_b_name bot_b_output
|
243 |
#system_prompt, input_text, chatbot_a, chatbot_b, max_new_tokens=2048, temperature=0.2, top_p=0.9, repetition_penalty=1.1
|
244 |
|
245 |
-
sheet_row = [system_prompt, input_text, max_new_tokens, temperature, repetition_penalty, chatbot_a_name, chatbot_a, chatbot_b_name, chatbot_b]
|
246 |
|
247 |
logging.debug(f'{SPACER}\nOutput row: {sheet_row}') #list["in","out"]
|
248 |
return chatbot_a, chatbot_b
|
|
|
242 |
#system_prompt user_prompt max_new_tokens temperature top_p penalty bot_a_name bot_a_output bot_b_name bot_b_output
|
243 |
#system_prompt, input_text, chatbot_a, chatbot_b, max_new_tokens=2048, temperature=0.2, top_p=0.9, repetition_penalty=1.1
|
244 |
|
245 |
+
sheet_row = [system_prompt, input_text, max_new_tokens, temperature, repetition_penalty, chatbot_a_name, chatbot_a[0][1], chatbot_b_name, chatbot_b[0][1]]
|
246 |
|
247 |
logging.debug(f'{SPACER}\nOutput row: {sheet_row}') #list["in","out"]
|
248 |
return chatbot_a, chatbot_b
|