How to make a huggingface chatbot spaces?

I created and uploaded my own LORA for the meta llama 3 8B instruct model, and I wish to make a space . I’m really unfamiliar with how this stuff works, and I don’t know how to:

  • Make a chatbot template
  • Loads llama 3 8b instruct
  • Apply my own LORA
  • Gives the model a system prompt (“You are a helpful assistant…”)
  • Allows chatting

Just basically overall clueless as to how to make this app.py for a functional spaces, please give some directions.