Spaces:
Runtime error
Runtime error
metadata
title: Bot
emoji: 🦀
colorFrom: indigo
colorTo: pink
sdk: gradio
app_file: app.py
pinned: false
license: openrail
Easy Chatbot with PaLM API
- go to https://makersuite.google.com/app/home
- create your bot in the chat prompt
- change app.py file with your own context and examples
- add your own palm api key https://makersuite.google.com/app/apikey to your HF environment (cf https://huggingface.co/docs/huggingface_hub/guides/manage-spaces)
- ready to use chatbot that can be used as embedded in any websites (cf https://comparateur-image.web.app/bot/)
Errors
- clear button (gr.ClearButton needs a fix in embedded websites), I use a basic button until fixed
Use community if any question/request
Please check mkersuite quickstart
Makersuite allows you to change context and examples in order to get the best chatbot and then export the code. You can then try it in gradio by cloning this space and changing context and examples.
Check out https://developers.generativeai.google/tutorials/makersuite_quickstart
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference