generative-ai
generative-ai copied to clipboard
Add Gradio multimodal chatbot notebook and python file for Gemini Pro & Vision
Added Gradio Chatbot UI for Gemini PRO and Gemini Vision models. This pull request includes both a notebook and a Python file to run demos either on Colab or locally for developers.
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@yvrjsharma Thanks for your contribution!
However, this repository focuses on Generative AI for Google Cloud Vertex AI, and your notebook is using the Google AI Gemini API
If you can add functionality for Gemini with Vertex AI, we can review this notebook further. Thanks!
@yvrjsharma Thanks for your contribution!
However, this repository focuses on Generative AI for Google Cloud Vertex AI, and your notebook is using the Google AI Gemini API
If you can add functionality for Gemini with Vertex AI, we can review this notebook further. Thanks!
@yvrjsharma Can you switch the API referencing as per the streamlit sample-apps on the Gemini Folder? Or we have examples of Gradio in the language/sample-apps folder, which you can use for reference. Let us know if you need help.
Gradio + Vertex integration example: https://github.com/GoogleCloudPlatform/generative-ai/tree/main/language/sample-apps/chat-gradio
Make sure to follow the proper structure of the readme as stated in the example. The notebook markdown should also have a standard structure. For that, you can refer here: https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/getting-started/intro_gemini_python.ipynb cc @holtskinner @rominirani
Closing due to inactivity, please re-open if the previous comments have been answered.