Spaces:
Runtime error
Runtime error
File size: 763 Bytes
ede75db cf42750 fd67c61 69feb23 ffd01cf 120d2f5 20adb45 dbbc7f5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import os
os.system('pip install git+https://github.com/broadfield-dev/Do_it_All')
from doitall import main
history = []
prompt_in={'text':"why is the sky blue?"}
clients=[{'type':'image','loc':'hf','key':'','name':'black-forest-labs/FLUX.1-dev','rank':'op','max_tokens':16384,'schema':{'bos':'<|im_start|>','eos':'<|im_end|>'},'ppt':'None'},
{'type':'text','loc':'hf','name':'Qwen/Qwen2.5-Coder-32B-Instruct','rank':'op','max_tokens':32768,'schema':{'bos':'<|im_start|>','eos':'<|im_end|>'},'ppt':'None'},
]
main_client=main.Do_It_All(clients=clients)
print(main_client)
while True:
print(str(list(main_client.agent(prompt_in,history,mod=1,tok_in="",rand_seed=True,seed=1,max_thought=5,save_mem=False,recall_mem=False,rag_col=False))))
|