Commit History

  1. added condition for loki being active and removed prints

    Verified signature
    e7f4aa1
  2. placed 30s for spaces decor

    Verified signature
    d4c71d7
  3. placed a shorter time on spaces duration

    d582fbc
  4. moved the spaces decor on bot_comms

    30d64a7
  5. type on generate_llama

    16340a7
  6. added context manager decor on llama_generation

    3f52b9b
  7. placed the lock as a global variable

    f2448b3
  8. added lock as arg in generation_llama

    667e3a5
  9. correctly passed Lock() from threading

    d5cee6d
  10. imported openai

    39598d2
  11. locked the thread before generation on llama

    0679bd1
  12. got back threading

    705763e
  13. added system details for bot comms

    0a7e6ca
  14. removed async from llama_generation

    e131dba
  15. placed command to view what python version space is running

    e14d992

  1. added async to bot_comms and llama_generation

    63eb3fb
  2. added multiprocesses to replace thread since zerogpu using several gpu

    540729d
  3. removed init for spaces

    3ce4f58
  4. added init for spaces and removed comment for @spaces

    7d75c5a
  5. removed space.gpu for debugging

    9db9ba2
  6. added spaces decoration on generation

    b52bed9
  7. placed return on cuda check for bot_comms()

    baf3691
  8. added empty returns on input_text conditions for ending the function run

    18a692b
  9. added the output [] into llm for llama condition

    c0248ea
  10. commit

    f7f9ccf
  11. added a print when llm_mode is on gpt-4o

    Verified signature
    6c64313
  12. added back the yields

    1ca04b5
  13. added all returns for modes on input_text

    8f939e2
  14. placed the return statements in the input_text conditions

    ccb2f58
  15. just returned the streamers into the bot_coms and just yielded the text

    14cd22f
  16. returned only the llama_generation with output_text and streamer

    7061b48

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

    3e86feb
  2. added steps

    1637c6c
  3. commented out asyncio run

    2d9a116
  4. completely removed asyncio

    1777cb3
  5. removed all return states and just did yield for bot_comms()

    b098c9f
  6. places asyncio for stopasynciteration bug

    8987295
  7. removed the space config

    65f60f3
  8. fixed (0) in check_cuda()

    1dd4ded
  9. added the hf token on top of script

    0a35e8d
  10. debugging to get space_id

    7dfd14d
  11. commit message

    8185c59
  12. debugging to get space id

    708593d
  13. removed the space_hardware_config() from the launch segments

    Verified signature
    5ff6ef4
  14. debugging to get the space info

    00f5f00
  15. removed return from space_hardware_config

    ed4bcb0
  16. added more custom commands in bot comms

    67cc1ee
  17. typo on HfAPi

    7b1925c
  18. added cuda, bot_comms and custom commands to the UI

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

    77459be