JoPmt commited on
Commit
eacc99e
·
verified ·
1 Parent(s): 1033bae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -488,7 +488,7 @@ def stream_to_gradio(agent,task: str, reset_agent_memory: bool = False,additiona
488
 
489
 
490
  def plex(prjmpt, history, gine, samba, nebu, tsmos, tsssk, tikens, flies):
491
- if not smol_swarm_manager:
492
  maodl=random.choice([samba,nebu])
493
  pravdr="nebius"
494
  mator=engine_llm(gine,maodl,pravdr,tikens)
@@ -505,7 +505,7 @@ def plex(prjmpt, history, gine, samba, nebu, tsmos, tsssk, tikens, flies):
505
  yield messages
506
 
507
  def plax(primpt, histori, gina, sambi, nebi, tents, tksss, takens, fiels):
508
- if not agent_swarm_namager:
509
  meodl=random.choice([sambi,nebi])
510
  print(meodl)
511
  prevdr="sambanova"
 
488
 
489
 
490
  def plex(prjmpt, history, gine, samba, nebu, tsmos, tsssk, tikens, flies):
491
+ if len(smol_swarm_array)==0:
492
  maodl=random.choice([samba,nebu])
493
  pravdr="nebius"
494
  mator=engine_llm(gine,maodl,pravdr,tikens)
 
505
  yield messages
506
 
507
  def plax(primpt, histori, gina, sambi, nebi, tents, tksss, takens, fiels):
508
+ if len(agent_swarm_array)==0:
509
  meodl=random.choice([sambi,nebi])
510
  print(meodl)
511
  prevdr="sambanova"