Commit Graph

10 Commits

Author SHA1 Message Date
Abubakar Abid
ccdaec4500
Add a simpleimage template for custom components (#7129)
* simpleimage template

* add changeset

* changes

* change

* changes

* update backend

* update frontend

* add changeset

* lint

* fix package

* add changeset

* remove warnings

* docstrings

* fix error

* fixes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-26 17:29:29 -08:00
pngwn
bc25ec78c1
Cc publish docs (#7162)
* changes

* add changeset

* lint

* tweaks

* fix guide formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-25 19:15:10 +00:00
pngwn
6654a32eba
start cc docs guide (#7080)
* start cc docs guide

* add changeset

* complete guide

* proof + edit

* tweaks

* Update .vscode/settings.json

* Update guides/05_custom-components/09_documenting-custom-components.md

* update 5 min guide

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-24 21:43:02 +00:00
Abubakar Abid
9cefd2e90a
Refactor examples so they accept data in the same format as is returned by function, rename .as_example() to .process_example() (#6933)
* image-editor-examples

* add changeset

* add changeset

* delete changeset

* change to process_example()

* add changeset

* changes for all components until dataset.py

* rename

* fix checkboxgroup

* format

* changes

* add changeset

* changes

* add changeset

* radio

* add changeset

* changes

* add changeset

* changes

* examples

* remove print

* fix

* clean

* add changeset

* fix tests

* fix tests

* fix test

* fix

* add changeset

* fix video example

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 16:35:25 -08:00
Freddy Boulton
58e3ca8260
Custom Component CLI Improvements (#6436)
* Finishing touches

* Disable metadata prompt in tests

* add changeset

* lint website

* Fix link:

* Fix redirects

* failsafe

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 13:23:50 -05:00
Freddy Boulton
ff544fd702
Add MultimodalChatbot Custom Component guide to accompany Youtube Video (#6409)
* Add guide

* Finish guide

* Fix working

* typos

* Fix link

* Fix typo
2023-11-13 17:13:38 -08:00
Freddy Boulton
7471970894
PDF component custom component guide (#6344)
* WIP guide

* Add remaining

* build command

* remove pin from guides

* add changeset

* Tweaks

* add changeset

* format

* Update guides/05_custom-components/07_pdf-component-example.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Redesign file upload (#6356)

* Textbox and Code Component Blur/Focus Fixes (#6323)

* focus and blur events

* format

* add changeset

* fixes

* fixes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix image upload (#6363)

* Fix upload

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Add demo to the beginning

* Add example and note about the name

* Incorporate feedback

---------

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2023-11-13 14:52:55 -05:00
Freddy Boulton
0db1e2546a
Mention Custom Components Collection in the guides (#6313)
* mention

* add sentence
2023-11-06 19:07:47 -05:00
Abubakar Abid
2c9fd437f8
Some tweaks to the Custom Components Guide (#6243)
* cc guide

* add changeset

* nits

* tweaks

* fix more stories

* Revert "fix more stories"

This reverts commit 712d27fb61.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 12:29:52 -07:00
Freddy Boulton
345ddd888e
Custom Component Guides (#6189)
* Add code

* add changeset

* Undo

* add changeset

* Undo

* Delete old

* more undo

* More undo

* more undo

* Fix link

* Remove tip

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-31 10:51:09 -04:00