warhawkmonk commited on
Commit
1e1b464
·
verified ·
1 Parent(s): a04fb32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -421,7 +421,7 @@ with column2:
421
 
422
 
423
  for index,prompts_ in enumerate(dictionary['every_prompt_with_val'][::-1]):
424
- messages = []
425
 
426
  # for i_ in dictionary['every_prompt_with_val']:
427
  # if "@working" in i_[-1]:
@@ -439,12 +439,12 @@ with column2:
439
  if len(prompts_)==3:
440
  try:
441
 
442
- data_need = st.write_stream(consume_llm_api(prompts_[1],messages))
443
  except:
444
  data_need = st.write_stream(consume_llm_api_conditional(prompts_[1],dictionary["new_id"]))
445
  else:
446
  try:
447
- data_need=st.write_stream(consume_llm_api(prompts_[0],messages))
448
  except:
449
  data_need=st.write_stream(consume_llm_api_conditional(prompts_[0],dictionary["new_id"]))
450
 
 
421
 
422
 
423
  for index,prompts_ in enumerate(dictionary['every_prompt_with_val'][::-1]):
424
+ # messages = []
425
 
426
  # for i_ in dictionary['every_prompt_with_val']:
427
  # if "@working" in i_[-1]:
 
439
  if len(prompts_)==3:
440
  try:
441
 
442
+ data_need = st.write_stream(consume_llm_api(prompts_[1]))
443
  except:
444
  data_need = st.write_stream(consume_llm_api_conditional(prompts_[1],dictionary["new_id"]))
445
  else:
446
  try:
447
+ data_need=st.write_stream(consume_llm_api(prompts_[0]))
448
  except:
449
  data_need=st.write_stream(consume_llm_api_conditional(prompts_[0],dictionary["new_id"]))
450