loki / app.py

Commit History

added the output [] into llm for llama condition
c0248ea

sandz7 commited on

commit
f7f9ccf

sandz7 commited on

added a print when llm_mode is on gpt-4o
6c64313
verified

sandz7 commited on

added back the yields
1ca04b5

sandz7 commited on

added all returns for modes on input_text
8f939e2

sandz7 commited on

placed the return statements in the input_text conditions
ccb2f58

sandz7 commited on

just returned the streamers into the bot_coms and just yielded the text
14cd22f

sandz7 commited on

returned only the llama_generation with output_text and streamer
7061b48

sandz7 commited on

placed an else statement inside the loki_generation and placed the mode param in llm_mode as None on bot_comms()
3e86feb

sandz7 commited on

commented out asyncio run
2d9a116

sandz7 commited on

completely removed asyncio
1777cb3

sandz7 commited on

removed all return states and just did yield for bot_comms()
b098c9f

sandz7 commited on

places asyncio for stopasynciteration bug
8987295

sandz7 commited on

removed the space config
65f60f3

sandz7 commited on

fixed (0) in check_cuda()
1dd4ded

sandz7 commited on

added the hf token on top of script
0a35e8d

sandz7 commited on

debugging to get space_id
7dfd14d

sandz7 commited on

commit message
8185c59

sandz7 commited on

debugging to get space id
708593d

sandz7 commited on

removed the space_hardware_config() from the launch segments
5ff6ef4
verified

sandz7 commited on

debugging to get the space info
00f5f00

sandz7 commited on

removed return from space_hardware_config
ed4bcb0

sandz7 commited on

added more custom commands in bot comms
67cc1ee

sandz7 commited on

typo on HfAPi
7b1925c

sandz7 commited on

added cuda, bot_comms and custom commands to the UI
9d9021a

sandz7 commited on

added cuda, bot_comms and custom commands to the UI
77459be

sandz7 commited on

Renamed project
24f840d
verified

sandz7 commited on

placed in the delta.content in text and appended that to outputs
39eda37

sandz7 commited on

instanced gpt-4o functions
86917e5

sandz7 commited on

placed the output in list comprehension and just returned the output from output_list
2e99ee0

sandz7 commited on

Removed the spaces in the join so there won't be extra space
6def1b9

sandz7 commited on

placed a space on .join inside output_list
930773d
verified

sandz7 commited on

used a filter instead of .join() twice
8a691c0

sandz7 commited on

joined the output again in output_list
a14c9f3

sandz7 commited on

placed strip(' ') with a space
f123c86

sandz7 commited on

strip() on after the join()
2ed6783

sandz7 commited on

striped and joined the list into a string for output_list
5a708e7

sandz7 commited on

Show the first 15 items in output_list
622f3ea

sandz7 commited on

removed (str) from the output_list function
8899970
verified

sandz7 commited on

placed outputs in the .join() inside the llama_generation
d9a7da0

sandz7 commited on

added streamer in the generate_kwargs and placed params in streamer
aaf89eb

sandz7 commited on

placed a function to convert the list into str from [0]
9078da1

sandz7 commited on

used the params inside .generate()
a4a9909

sandz7 commited on

added login for HF
99033fb

sandz7 commited on

removed thread and text stream as we want the whole output for UI
d5cc98b

sandz7 commited on

removed thread and text streaming as we just need the whole output placed on ui
722a52a

sandz7 commited on

replaced the terminator values to origin and replaced the transformer to instruct version
a0c513d
verified

sandz7 commited on

update
46c2ef7

sandz7 commited on

only added the eos_token_id to terminators
ba43494

sandz7 commited on

update
320e0f4

sandz7 commited on