Freddy Boulton
9204d86ed4
Add guide on cleaning up state and file resources ( #8610 )
...
* WIP
* Add guide
* add changeset
* notebook
* No log in
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-25 11:52:35 -04:00
Abubakar Abid
d35c290aad
Adding more docs for using components in chatbot ( #8593 )
...
* adding more docs for components in chatbot
* add changeset
* add changeset
* add simple demo
* simple demo
* notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-21 18:04:27 +00:00
Ali Abdalla
7833749eae
remove empty lines ( #8585 )
2024-06-20 02:33:34 -07:00
Sadra Barikbin
4c8a183477
To fix a few formatting typos in Gradio-and-Wandb-Integration.md
tutorial ( #8563 )
...
* A few typo fix in Gradio&WandB tutorial
* Apply suggestions from code review
Co-authored-by: Ali Abdalla <ali.abdalla@huggingface.co>
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abdalla <ali.abdalla@huggingface.co>
2024-06-20 08:41:03 +00:00
Makoto Tanji
3722542199
Update 02_key-features.md ( #8558 )
...
I noticed that the type mentioned in the figure (int) and the description (float) were inconsistent.
I've also included some additional text corrections.
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-06-15 05:28:06 -07:00
pngwn
595ecf35da
Add build target option to the custom component gradio.config.js
file ( #8520 )
2024-06-10 20:16:41 +01:00
aliabid94
73e11087a0
Adds a monitoring dashboard to Gradio apps that can be used to view usage ( #8478 )
...
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-06-06 08:31:22 -07:00
pngwn
e2271e207d
documentation for @gradio/client ( #8483 )
...
* fix param name
* format
* docs
* add changeset
* Update client/js/README.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* add changeset
* Apply suggestions from code review
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-06-06 14:58:20 +00:00
Ali Abdalla
86288993d9
Support Bash in Api Recorder ( #8460 )
...
* add bash to api recorder
* formatting
* add changeset
* fix copy bug
* remove current_language from api banner
* add changeset
* use awk and read
* separate over multiple lines
* fix line spacing
* update guide
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-06-05 23:17:58 +00:00
Abubakar Abid
5c8915b113
Add cURL to view API Page and add a dedicated Guide ( #8445 )
...
* curl docs
* add changeset
* curl
* guide complete
* rename
* more details
* add changeset
* add changeset
* Update guides/08_gradio-clients-and-lite/03_querying-gradio-apps-with-curl.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/08_gradio-clients-and-lite/03_querying-gradio-apps-with-curl.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* changes
* add support for curl in view api docs
* add support for files
* format frontend
* lint
* Update js/app/src/api_docs/img/bash.svg
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* remove api recorder on bash
* fixes
* changes
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-06-05 01:32:13 +00:00
aliabid94
4a55157ed9
state.change listener with deep hash check ( #8446 )
...
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* Update guides/04_building-with-blocks/04_dynamic-apps-with-render-decorator.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-06-04 14:19:30 -07:00
aliabid94
1a124d95d7
More gr.render content ( #8418 )
...
* changes
* Update 04_dynamic-apps-with-render-decorator.md
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2024-05-30 14:15:35 -07:00
Ali Abdalla
5efd35c7a0
Editable Docs ( #8403 )
...
* docs intro page and guides
* python library docs and js client
* reorg
* changes
* add better hovering
* fix broken version routing
* add redirects and remove duplicate pages
* fix build issues
* fix issues
* formatting
* add changeset
* working templates for all components
* add other pages
* merge
* merge
* changes
* changes
* working from templates
* changes
* refactoring
* changes
* build working
* formatting
* importing meta globs
* add uploading templates to ci
* fixes
* add changeset
* remove fake version
* fix
* ignore
* formatting
* adding render page to docs
* add changeset
* formatting fix
* typo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-29 18:26:54 -04:00
aliabid94
8028c33bbc
Render decorator documentation ( #8409 )
...
* changes
* changes
* add changeset
* fix dependency loop and documentation group
* add changeset
* changes
* fix numbered list
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-05-29 14:13:51 -07:00
Hannah
d078621928
Add CDN installation to JS docs ( #8401 )
...
* add cdn copy
* add changeset
* tweak
* tweak
* add changeset
* Update guides/08_gradio-clients-and-lite/02_getting-started-with-the-js-client.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* remove version from cdn link
* tweak
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-29 18:11:29 +00:00
Freddy Boulton
e738e26a5d
Include instructions on starting from someone else's custom component repository ( #8386 )
...
* Add guide
* add changeset
* Fix link
* add changeset
* Add code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-28 19:14:23 +00:00
Yuvraj Sharma
ffa2091f2d
fixed link to '30 built-in components' ( #8331 )
2024-05-20 13:29:54 +01:00
Steven Shimizu
ff56e7b23e
Update custom component installation instructions ( #8308 )
...
Added pip 21.3+ requirement to be able to build from pyproject.toml
2024-05-17 13:57:50 -07:00
Shaurya Khurana
69e50edd13
Update 05_gradio-lite.md to fix spelling error: straightrward
to straightforward
( #8303 )
2024-05-16 11:18:10 +01:00
Freddy Boulton
4350215348
Link to troubleshooting guide in the custom component loading status ( #8279 )
...
* Add code
* Add code
* add changeset
* Add code
* remove unused style
* add changeset
* Update js/app/src/Index.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/06_custom-components/06_frequently-asked-questions.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/06_custom-components/06_frequently-asked-questions.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-05-14 23:02:45 +00:00
Abubakar Abid
de52f0e5af
Reduce the analytics that are collected in Gradio ( #8263 )
...
* reduce analytics
* add changeset
* mark flaky
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-05-13 23:10:08 +00:00
Abubakar Abid
d708ca8fca
Reorganize Guides in a more logical order ( #8262 )
...
* guides reorg
* separate flagging
* examples
* tweak
* Update 01_quickstart.md
* redirect
* redirect
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 20:13:31 +00:00
Yuichiro Tachibana (Tsuchiya)
4ae17a4653
Embedded Lite example apps in the docs ( #8278 )
...
* Disable MDsveX's smartypants option to preserve the Python code embedded in the doc as Lite apps unchanged
* Add Lite embedded apps to 06_gradio-lite-and-transformers-js.md
* add changeset
* Add comments
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 12:08:31 -07:00
Yuichiro Tachibana (Tsuchiya)
d62a48b183
Delete embedded Lite apps in the doc ( #8232 )
2024-05-10 15:50:38 +09:00
Abubakar Abid
52dac637a3
Adds examples_per_page
to gr.ChatInterface
and allows clear_btn
in gr.Interface
to be hidden ( #8244 )
...
* add to and allow setting to in
* docs
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 10:23:27 -05:00
Yuichiro Tachibana (Tsuchiya)
1435d1d2dc
Extend Interface.from_pipeline() to support Transformers.js.py pipelines on Lite ( #8052 )
...
* Extend Interface.from_pipeline() to support Transformers.js.py pipelines on Lite (wip: only object-detection in this commit)
* add changeset
* Add image-classification and image-segmentation
* Add zero-shot-image-classification and zero-shot-object-detection
* Add document-question-answering
* Add feature-extraction and fill-mask
* Add question-answering and summarization
* Fix an error message
* Add text2text-generation, text-classification, and text-generation
* Add translation andtranslation_xx_to_yy
* Add zero-shot-classification
* Add postprocess_takes_inputs to control the args passed to the postprocess function of each pipeline
* Add topk option to image-classification
* format_backend
* Add audio-classification, automatic-speech-recognition, and zero-shot-audio-classification
* Add image-to-text
* Add token-classification (with JSON component as an output. Is it correct?)
* Ignore import type failure of transformers_js_py
* Add image-feature-extraction
* Add image-to-image
* Add text-to-audio
* Add depth-estimation
* Remove `render=False`
* Reorder the if-blocks following the Transformers.js doc
* Update gradio/pipelines_utils.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/pipelines_utils.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix feature-extraction demo
* Fix demo title
* Add guides/08_gradio-clients-and-lite/gradio-lite-and-transformers-js.md without contents
* Rename guides/08_gradio-clients-and-lite/*.md to fix the order
* Use pipeline.model.config._name_or_path for the demo title instead of pipeline.model.config.model_type
* Fix normal Interface.from_pipeline to use pipeline.model.config.name_or_path as the demo title
* Write an article about Gradio-Lite and Transformers.js
* Update the doc
* tweaks
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-03 07:37:51 +00:00
Simon Duerr
989fe2566f
Make guide for tailwind more verbose ( #8152 )
2024-04-30 03:35:22 +01:00
Freddy Boulton
9a5728ca2b
Update docs on max-threads ( #8166 )
2024-04-29 14:39:16 -04:00
James Zhou
ba15bde44c
add flag for hot reload example ( #8155 )
2024-04-29 11:11:16 -04:00
pngwn
15a7106a36
allow custom component authors to provide custom vite plugins and svelte preprocessors ( #6787 )
2024-04-25 19:58:42 +01:00
Ali Abdalla
17e83c958e
Docs Reorg and Intro Page ( #8061 )
...
* docs intro page and guides
* python library docs and js client
* reorg
* changes
* add better hovering
* fix broken version routing
* add redirects and remove duplicate pages
* fix build issues
* fix issues
* formatting
* add changeset
* add changeset
* Update js/_website/src/routes/[[version]]/docs/+page.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/routes/[[version]]/docs/+page.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/routes/[[version]]/docs/+page.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/routes/[[version]]/docs/+page.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/routes/[[version]]/docs/+page.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/routes/[[version]]/docs/+page.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* styling changes
* formatting
* fix build
* rounded corners on buttons
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-23 13:33:45 -07:00
Ikko Eltociear Ashimine
d12beba6bb
Update creating-a-realtime-dashboard-from-google-sheets.md ( #8095 )
...
minor fix
2024-04-22 09:35:26 -07:00
Hannah
450b8cc898
Refactor JS Client ( #7646 )
...
* initial setup
* fix hf token prefix
* warnings + error handling
* implement stream, predict and submit
* update blocks with new client
* add changeset
* temp comment
* add changeset
* add sse_v3 chages
* imrpove typing, reimplement websocket logic
* refactor zerogpu logic
* integrate fetch_implemenation
* wasm changes
* tweaks
* tscheck fixes
* type fixes
* test
* test import tweaks
* test
* package.json
* improve typing + config
* config tweak
* remove fetch-mock
* pnpm lock
* config
* remove module
* tweak
* tweak
* fix config
* test
* test
* lockfile
* fix types
* more config tweaks
* type fixes
* formatting
* fix typing
* formatting
* type fixes
* test
* lockfile
* revert comment
* package.json
* tweak
* formatting
* test
* revert ts removal
* remove comments + logic fixes
* type fix
* formatting
* test
* stream logic changes
* fix test
* revert comments
* fix streaming test
* stream tweak
* data typing
* fix wasm fetch
* client typing tweaks
* more fixes + typing improvements
* move functions
* event_source tweaks
* cleanup
* add hardware types and cleanup jwt
* improve api info typing
* add await client() backwards compatiblity
* rename create to connect and move duplicate logic
* Update `Client` usage examples (#8003 )
* update client examples
* remove test data
* fix types
* remove types changes
* client -> Client.create
* Update client/js/README.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/js/README.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* update duplicate docs
* attempt to update cn docs
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* type improvements and config error handling
* fix image editor issue
* Merge branch 'main' into refactor-client
* improve typing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-19 23:36:13 +02:00
Freddy Boulton
2afca65419
Add max_file_size
parameter to launch()
that limits the size of files that can be uploaded in the Gradio app ( #7909 )
...
* File size limits
* Implementation
* add changeset
* Fix tests
* python client support
* lint
* fix test
* lint
* add changeset
* Set at the blocks level
* add changeset
* type check
* format
* lint
* lint
* Delete files as soon as they're encountered
* fix tests
* type hint 🙄
* Fix tests
* Fix below limit test
* add changeset
* Fix tests
* Add client file
* revert loop code
* Add to guides
* Pass in via gradio component
* add changeset
* Update loading status
* Make errors closeable
* add changeset
* Add code
* Lint
* Changelog highlight
* Fix i18n in storybook
* Address comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-19 15:38:53 -04:00
alpertunga-bile
576731051f
Adding wrapping-layouts guide ( #7953 )
...
* guide is created
* LayoutBase class implementation is added
* Implementations are added
* some writing mistakes are fixed
* writing mistake check is done
* simple example is added
* some additions are made
* the example is tested with given code snippets
* conclusion part is added
* space example is added
* some parts are refactored
* introduction is updated
* wrapping-layouts.md file is put under the other tutorials
* fixed markdown issues
* Example is written again
* remove the unnecessary implementations
* render function desc of LayoutBase is changed
* guide is made much simpler
* the guide is ready for visual check
* most of the bullet point elements are removed
* linguistic errors are fixed & ready for view check
2024-04-16 17:08:00 -04:00
Alfiya
f2a1a859ae
Clarify the streaming response documentation ( #7924 )
...
* Clarify the streaming response documentation
You cannot simply yield one new token at a time, you have to yield the new full response.
* Clarify streaming chatbot instructions
* Clarify streaming chatbots
2024-04-05 11:54:39 -04:00
Abubakar Abid
919afffcee
Adds a Guide on deploying Gradio apps with Docker ( #7935 )
...
* finish guide
* more informative exception
* add changeset
* add dockerfile to prism languages
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-04-04 19:23:23 -07:00
Ali Abdalla
b43055b297
Lite playground design changes ( #7811 )
...
* prevent new line on cmd+enter shortcut
* add copy button
* add download button
* better font sizing and align editor buttons
* button colors and header positioning
* add layout attribute
* height issue
* border fix
* overflow
* add changeset
* tests
* tweaks to index
* fix formatting in index.html
* fix event listener
* better alignment on header
* fix padding on code editor buttonsm
* add dark mode
* formatting
* fix heights issues
* add to guide
* shared worker and small fix
* Update guides/08_gradio-clients-and-lite/gradio-lite.md about SharedWorker mode (#7923 )
* layout edit in guide
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-04-04 04:38:12 -07:00
Abubakar Abid
2bae1cfbd4
Adds an "API Recorder" to the view API page, some internal methods have been made async ( #7850 )
...
* changes
* code recorder
* api docs
* add changeset
* changes
* change
* add changeset
* add changeset
* changes
* fixes
* format
* changes
* fix
* add changeset
* rename
* api recorder
* docs
* changes for pr
* fix
* async-ify
* add changeset
* fix typing
* fixes
* fix test/test_blocks
* fix more tests
* fix test
* add changeset
* fix more tests
* add async version
* make 2 separate functions
* format
* fix
* format
* fix tests
* move resource
* changes
* fix cache
* lite fixes
* make lazy cache async
* fix
* fix
* flaky
* replace null with None
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-03 14:28:06 -07:00
Abubakar Abid
024b44c553
Add support for lazy caching of examples, as well as add GRADIO_CACHE_EXAMPLES
env variable ( #7863 )
...
* lazy cache
* lazy cache
* add changeset
* changes
* changes
* helpers
* revert
* changes
* changes
* bash scriipt
* internal
* changes
* check
* setup
* fix
* lint
* add changeset
* revert
* fix
* fix test
* add changeset
* partial fix
* flaky
* lint
* change test
* add changeset
* change default behavior, add env
* set env correctly
* fixes
* format
* don't block event loop
* changes:
* get space
* add to chat interface
* add flag for deferring caching
* fixes
* lazy sync
* format
* added support in chat_interface
* add documentation
* fix test
* add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-29 23:14:33 +00:00
Abubakar Abid
e6d051dc8a
Fix how files are processed in gr.ChatInterface
( #7875 )
...
* submit button icon
* loader
* add changeset
* pr fix
* paste
* format
* add changeset
* remove path
* revert
* reset cset
* add changeset
* add changeset
* guide
* guide
* fix
---------
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-28 10:12:02 -07:00
Abubakar Abid
75a2bf745d
Add guide on Client state and and fix default values of components ( #7830 )
...
* add guide and default values
* add changeset
* reset session
* fix
* add changeset
* fix tests'
* Update guides/08_gradio-clients-and-lite/01_getting-started-with-the-python-client.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-03-26 21:10:43 +00:00
Abubakar Abid
8b099a07a5
Additional documentation related to nginx and root_url
( #7832 )
...
* nginx docs
* Update guides/09_other-tutorials/running-gradio-on-your-web-server-with-nginx.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-03-26 18:49:24 +00:00
Abubakar Abid
2efb05ed99
Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page ( #7732 )
...
* changes
* changes
* add changeset
* improvements to api docs ui
* add changeset
* ux design work
* further styling
* feedback
* add changeset
* get parameter name
* fix code snippet
* construct args
* add changeset
* construct_args
* utils
* changes
* add catches
* fixes
* valid
* fix tests
* js lint
* add tests
* add changeset
* format
* client
* doc
* fixes
* changes
* api docs fixes
* fix .view_api()
* updating guide wip
* guide
* updated guides'
* fix
* guide fixes
* filepath
* address review
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-21 17:18:13 -07:00
Freddy Boulton
755157f99c
Do not reload code inside gr.NO_RELOAD context ( #7684 )
...
* Add code
* Copy files
* I think its working
* Tidy up
* add changeset
* do not change demos
* test
* Don't copy files
* Add code
* lint
* Add reload mode e2e test
* Reload mode test
* add changeset
* add changeset
* Use NO_RELOAD
* add no reload to docs
* add changeset
* Fix docs
* handle else statements. No need to edit string
* Fix typos
* Use compile
* Do not use unparse
* notebook
* Documentation comments
* Fix top-package import without having to delete all modules
* Revert demo calculator
* Typo guides
* Fix website
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-21 15:59:53 -04:00
Freddy Boulton
f73a9bbcd7
Fix theme gallery space ( #7758 )
2024-03-20 17:47:24 -04:00
Dawood Khan
15da39fca0
Multimodal Textbox (Chat Input Component) ( #7420 )
...
* first pass
* multimodal textbox
* add changeset
* remove file
* more changes
* changes
* add changeset
* revert demo
* doc strings fix
* update demo
* file icons
* more updates
* format
* add story
* remove doc line
* type fixes
* chat interface
* new demo
* image upload fix
* ui changes
* addressing PR comments
* format
* type check
* more pr fixes
* format
* format
* test fixes
* test fixes
* Streaming fixes + other stuff
* optional keys to dict value
* final fixes
* notebook
* format
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* backend fixes
* story fix
* ui test fix
* format
* story
* format
* demo fix
* streaming test fix
* stories fix
* stories fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-19 13:16:05 -07:00
Abubakar Abid
04857bc524
Add allowed_paths
, blocked_paths
, show_error
, and favicon_path
parameters to gr.mount_gradio_app
( #7734 )
...
* mount
* add params
* routes
* add changeset
* blocks
* fixes
* add changeset
* typo
* typo
* mount
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-19 10:56:20 -07:00
Lucain
a1c24dbf2e
Fix OAuth + fix OAuth documentation + undocument logout button ( #7697 )
...
* Remove mentions to gr.LogoutButton in docs
* Fix session obj + update example
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-14 07:37:51 -07:00
Freddy Boulton
b3b0ea3e11
Add --python-path, --pip-path, --gradio-path CLI arguments to let custom component developers control which executable is used ( #7638 )
...
* backend code
* Frontend code
* add changeset
* Add to FAQ
* lint
* Check pip3/python3
* Check pip/python3 and edit docstrings.
* Build docstring
* more informative error
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 15:01:49 -08:00