gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
34.23k stars 2.6k forks source link

Pasting images into Multimodal ChatInterface #7751

Closed recursionbane closed 8 months ago

recursionbane commented 8 months ago

Is your feature request related to a problem? Please describe.
Multimodal/image support in ChatInterface just landed! Big thanks to @dawoodkhan82 for this. Would it be possible to add clipboard paste support to ease common interactions like chatting with LLMs about screenshots?

Describe the solution you'd like
Pasting an image into the text entry field when multimodal=True should transfer the clipboard content and store it exactly how an uploaded file would be stored in /tmp/... on the Gradio server host.

dawoodkhan82 commented 8 months ago

Makes sense to add. Will look into it.