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
Abubakar Abid
d0688b3c25
Files should now be supplied as file(...)
in the Client, and some fixes to gr.load()
as well ( #7575 )
...
* more fixes for gr.load()
* client
* add changeset
* format
* docstring
* add assertion
* warning
* add changeset
* add changeset
* changes
* fixes
* more fixes
* fix files
* add test for dir
* add changeset
* Delete .changeset/giant-bears-check.md
* add changeset
* changes
* add changeset
* print
* format
* add changeset
* docs
* add to tests
* format
* add changeset
* move compatibility code out
* fixed
* changes
* changes
* factory method
* add changeset
* changes
* changes
* sse v2.1
* file()
* changes
* typing
* changes
* cleanup
* changes
* changes
* changes
* fixes
* changes
* fix
* add changeset
* changes
* more changes
* abc
* test
* add payloads
* lint
* test
* lint
* changes
* payload
* fixes
* fix tests
* fix
* clean
* fix frontend
* lint
* add changeset
* cleanup
* format
* get examples to show up in loaded spaces
* add filedata prop to frontend
* add skip component parameter
* address feedback
* with meta
* load
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 12:29:02 -08:00
Freddy Boulton
0ae1e4486c
Control which files get moved to cache with gr.set_static_paths ( #7618 )
...
* First commit
* Add code
* undo demo changes
* add changeset
* Add documentation
* Rename to set_static_paths
* add changeset
* Fix docstring issue
* add changeset
* Address feedback
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-07 15:39:07 -05:00
Abubakar Abid
1a4b089e78
Refactor example_inputs()
, separating its logic into two separate methods: example_payload()
and example_value()
( #7620 )
...
* fix
* lint
* add changeset
* add changeset
* example
* checkbox
* fix, add test
* fixes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-06 19:37:14 +00:00
Abubakar Abid
4d5789e905
Allow mounted Gradio apps to work with external / arbitrary authentication providers ( #7557 )
...
* add parameter
* format
* add changeset
* docstrings
* changes
* changes
* docs
* mark flaky
* test
* docs
* docs
* push
* docs
* Update guides/01_getting-started/03_sharing-your-app.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* fix typecheck
* error
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-03-05 12:41:39 -08:00
Freddy Boulton
a57e34ef87
Add delete_cache parameter to gr.Blocks to delete files created by app on shutdown ( #7447 )
...
* Add code
* add changeset
* Add code
* trigger ci
* Add schedule
* Fix implementation
* Fix test
* Address comments
* add changeset
* handle examples
* Update guides/01_getting-started/03_sharing-your-app.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix code
* Fix code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-05 01:51:02 +00:00
André Pedersen
24626ea362
Fixed redirects and reformatted code in creating-a-fast-chatbot guide ( #7563 )
...
* Minor code styling fix in example to be more consistent
* Fix broken redirect
* Fixed two more redirects
* Fixed more redirects
* Revert faulty redirect updates
2024-02-28 14:56:29 -08:00
Abubakar Abid
98aa8082dd
Add /logout
functionality for Gradio auth ( #7547 )
...
* logout
* changes
* add changeset
* documentation
* add test
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-27 14:53:24 -08:00
Ari Roffe
7cda6ce06d
Update 03_sharing-your-app.md ( #7552 )
...
* Update 03_sharing-your-app.md
* Update guides/01_getting-started/03_sharing-your-app.md
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-27 16:41:47 +00:00
Abubakar Abid
eda33b3763
Refactors get_fetchable_url_or_file()
to remove it from the frontend ( #7528 )
...
* fetch
* add changeset
* add changeset
* simplify
* add changeset
* changes
* format
* add changeset
* changes
* format
* fixes
* lint
* fix components
* fixes
* typing
* format frontend
* path
* fixes
* fix stories
* lint
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-26 13:01:00 -08:00
Akshunn Trivedi
8f050eedbc
Streaming example for the updated OpenAI API ( #7508 )
...
* Changes for updated OpenAI api
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-22 16:08:29 +00:00
Abubakar Abid
ddd4d3e4d3
Reverts the revert that dropped changes from 2 PRs ( #7495 )
...
* Revert "Revert "changes""
This reverts commit 032435368d8d8db7439da5ffa966987f80c58db3.
* patch
2024-02-20 18:36:10 -08:00
Ali Abid
032435368d
Revert "changes"
...
This reverts commit 19dd2218dcacfb55cf55979d06f4c9880c15e856, reversing
changes made to 6a936330543c1b989ac1c957b2572dcd44e9ab7f.
2024-02-20 16:21:27 -06:00