Ali Abdalla
f5b300fd3e
regenerate jsons ( #4952 )
2023-07-18 03:08:55 +03:00
Abubakar Abid
1f5c090cb5
Release 3.37 ( #4947 )
...
* version
* ltr
2023-07-17 14:52:39 -04:00
aliabid94
edde958e32
fix ( #4949 )
2023-07-17 14:29:01 -04:00
Abubakar Abid
5a511f02af
A high-level ChatInterface
abstraction ( #4869 )
...
* push
* chat interface
* remove video artifact
* changes
* restore
* changes
* more functions
* clean
* chat interface
* chat interface
* Update gradio/chat_interface.py
* nit
* changes
* api fix
* chat interface
* guide
* guide
* changes
* fixes
* Added ChatInterface Examples for Langchain, OpenAI Streaming, and HF's Text Generation Inference (StarChat)
* docstring
* tests
* tests
* tests
* tests
* rename
* guide
* chatbot
* conclusion
* demo notebooks
* clog
* test
* chat interface
* fixes
* functional test
* test
* notebook
* guides
* typing
* docstring
* script
* upgrade pyright
* upgrade pyright
* Update CHANGELOG.md
* revert pyright upgrade
* typing
* redirects
* Update CHANGELOG.md
* guide
* guide
* readme
* screenshot
* add to readme
* quickstart
* readme
* Added transformers open-source LLM example using ChatInterface
* Minor nits to guide
* Minor tweak to test - use connect fixture
* website fixes
* nav
* guide
* fix tests'
* fix
* type
* clear
* chat interface
* fix test
* fix guide
* handle edge case
* edge case
* typing
* fix example caching with streaming
* typing
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Yuvraj Sharma <48665385+yvrjsharma@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-07-17 13:22:47 -04:00
aliabid94
f2fd37ee59
Fix gr.Group, container=False ( #4916 )
...
* changes
* changes
* changes
* changes
* changes
* fix
* changes
* changes
* Deploy group demo
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-17 10:05:46 -07:00
Abubakar Abid
b16732ffb2
Add RTL support to Textbox
, Markdown
, Chatbot
( #4933 )
...
* add rtl support
* redo
* remove param
* clog
* fix backend tests; add textbox story
* add textbox story
* fix textbox story
* fixed textbox story, markdown
* markdown story
* format
* fixes'
* Update CHANGELOG.md
* update docstrings
* fix tests
* fix static checks
* fix tests
2023-07-17 12:53:23 -04:00
Hannah
7f6d0e19ad
Fix images being cut off within a gr.Row()'s children ( #4896 )
...
* apply missing flex to Row component
* remove redundant !important
* changelog
* add (sort of a) row test
* remove import
2023-07-17 17:08:17 +01:00
aliabid94
3474122cb3
Fix API page code snippets in safari ( #4924 )
...
* changes
* changes
2023-07-14 09:53:42 -07:00
pngwn
3a4b1d8f8b
move all of the chatbot component in to js/chatbot ( #4900 )
...
* changes
* fix test
* changes
2023-07-13 17:41:47 +01:00
Ali Abdalla
315d7f4283
Add gr.Group to docs ( #4913 )
...
* add group
* exclude js/_website from workflow and add echo pr test
* fix path / remove echo
---------
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-13 17:28:30 +03:00
Freddy Boulton
d3e1d272d5
Fix flaky ui test ( #4906 )
...
* Debug
* Upload screenshots
* Fix path
* turn on verbose mode
* turn on verbose mode
* turn on verbose mode
* await click
* cleanup
* trigger ci
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-12 21:08:36 -04:00
Freddy Boulton
4bf301324b
Lint website ( #4879 )
2023-07-11 21:00:52 -04:00
Abubakar Abid
abd0ced3db
Fixes .change()
in Video
, Audio
, Image
( #4793 )
2023-07-11 16:56:46 +01:00
Ali Abdalla
3e9f5407ae
fix path to gradio.svg ( #4877 )
2023-07-11 13:21:44 +03:00
Freddy Boulton
c17b91e114
Fix flaky e2e test ( #4864 )
...
* Split test into two
* Don't use await
* Dont use await
2023-07-10 15:53:09 -04:00
Ali Abdalla
5d080cdb74
Fix component events matrix in docs ( #4863 )
...
* fix events matrix
* regenerate json
* remove ordered_events
* remove hardcoded events
* mistake
* add end to docs
2023-07-10 20:52:14 +03:00
Freddy Boulton
34d5053076
Fire File change event when updated programmatically ( #4811 )
...
* Change
* Add code
* remove comments
* Add changelog
* remove test
* Fix typo
2023-07-10 11:29:34 -04:00
Dawood Khan
504c9d9d06
Add hyperlinks to download files in chatbot ( #4848 )
...
* add file links
* changelog
2023-07-10 10:34:01 -04:00
Yuichiro Tachibana (Tsuchiya)
76acf3cb0b
Lite: Fix the markdown-it package name spec on the Wasm worker ( #4846 )
...
* Fix the package name spec of markdown-it on the Wasm worker
* Add changeset
2023-07-10 10:03:21 +01:00
Yuichiro Tachibana (Tsuchiya)
f0150c6260
Lite: unload local modules before executing Python scripts ( #4826 )
...
* Unload the local modules before re-executing a Python script
* Add changeset
2023-07-10 10:03:09 +01:00
Yuichiro Tachibana (Tsuchiya)
7dbfa228f7
Lite: PoC of an online editor ( #4809 )
...
* Add a Svelte app for local development
* Update the dev editor to deal with multiple files
* Rename the File type
* Rename entities
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-10 10:00:05 +01:00
aliabid94
280b5697eb
Mobile queue fixes ( #4742 )
...
* changes
* changes
* changes
* changes
* changes
* Styling for error, warning and info toasts (#4603 )
* create abstract toast component for info/warning/error
* add icons
* add light mode theming
* add theme mode check and dark mode styles
* update theme_mode on update
* clean up render of toast content
* replace dynamic css vars with toast type css selectors
* tweak colours
* change error pill border colour to align with toasts
* formatting
* fix failed test
* rename icon files and clean up css
* changes
* changes
* changes
* changes
* changes
* changes
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-07 14:39:06 -05:00
Ali Abdalla
059d77eb98
Fix broken images in guides and website meta tags ( #4830 )
...
* testing meta tags
* fix broken images in guides
2023-07-07 20:51:42 +03:00
Ali Abdalla
9363328297
Fix Misleading Description for Duplicate Button ( #4832 )
...
* reword docstring for duplicatebutton
* formatting
2023-07-07 20:09:54 +03:00
Ali Abdalla
2883a12c1f
Fix Changelog Navbar in Website ( #4828 )
...
* working navbar for changelog
* testing meta tags
* nvm
2023-07-07 19:09:08 +03:00
Freddy Boulton
9b56057a98
Add gr.ClearButton component demo ( #4819 )
...
* add code
* Add notebook
* Fix typos
* Remove css
* Add notebook
2023-07-07 11:51:18 -04:00
Freddy Boulton
0f8e25cd65
Fix gr.Warning/gr.Info when using generators + interface ( #4823 )
...
* Fix bug
* Fix notebook
* Add test
* Lint backend
2023-07-06 19:37:20 -05:00
Freddy Boulton
4b7cb2a436
Add storybook for Gallery ( #4818 )
...
* Add stories
* Add show_share_button story + label
* Fix typo
2023-07-06 17:31:17 -05:00
Ali Abdalla
df804ca281
Fixing redirects in website ( #4813 )
...
* testing redirect in vercel
* adding all redirects to vercel config
2023-07-06 22:21:40 +03:00
Hannah
530e4ef164
Add border to selected image in gr.Gallery ( #4790 )
...
* add border to selected image and restore outline prop
* changelog
* amend borders for consistency in light + dark
2023-07-06 19:50:38 +01:00
pngwn
7fa5e766ce
format ( #4810 )
2023-07-06 18:43:49 +01:00
Freddy Boulton
bc97b7ba96
Fix login page styling ( #4797 )
...
* Fix login
* Add storybook
* Fix import
* fix import
* Add support inline
* Fix changelog
* Fix test
2023-07-06 11:21:55 -04:00
Ali Abdalla
b091c9165e
Fixes some issues with website migration ( #4806 )
...
* use _main embedded components
* fix horizontal scrolling in guide
* update guide headers on nav bar
* testing with redirects
* testing with trailingslash
2023-07-06 18:00:36 +03:00
Yuichiro Tachibana (Tsuchiya)
da0e94479a
Lite: Add methods to run Python files mounted on a virtual file system, and unmount() method ( #4785 )
...
* Create WorkerProxy.runPythonFile() to run a mounted Python file and rename .runPythonAsync() to .runPythonCode()
* Fix lite/index.html and app/lite/index.ts adjusting the new option name
* Add changeset
* Add controller.unmount()
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:43:14 +01:00
Yuichiro Tachibana (Tsuchiya)
8d0d4e0a8e
Prebuild lite css ( #4788 )
...
* Customize scripts/generate_theme.py to reuse for the CSS generation for @gradio/lite
* Build theme.css at the build time of Gradio-lite and update the frontend app to load it at the initialization phase
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:38:15 +01:00
pngwn
ea889fa8c4
unit tests for shared component functionality ( #4794 )
...
* add more tests
* fixes
* fixes
* fixes
* fix testmatch
2023-07-06 10:55:45 +01:00
renovate[bot]
84d890fc1b
chore(deps): update dependency prettier to v3 ( #4792 )
2023-07-06 09:22:09 +01:00
pngwn
726115785b
place toast message at the top of the screen on mobile ( #4796 )
2023-07-06 09:12:46 +01:00
aliabid94
b8eb481473
Share button ( #4651 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* restore
* merge
* del image'
* update pnpm lock
* changes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chagnes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-05 19:50:17 -05:00
Hannah
acec00f60b
Improve chromatic workflow ( #4770 )
...
* only run post deployment link on PRs
* add check for chromatic token job
* replace deprecated set-output with github_env
* tweak
* add turbosnap config for vite
* sb tweak
* remove (incompatible) turbosnap
* remove redundant flag
* remove turbosnap
2023-07-05 15:18:21 +02:00
Dawood Khan
95ca4d9d69
Adds more tests to outbreak_forecast.spec.ts
( #4752 )
...
* tests
* Update outbreak_forecast.spec.ts
2023-07-04 15:23:50 -04:00
pngwn
a2805d5591
4701 upload button unit tests ( #4744 )
...
* First upload
* fix tests
* cleanuop
* tweak
* cleanup
* revert
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-04 19:47:31 +01:00
Yuichiro Tachibana (Tsuchiya)
f757febe18
Fix/lite dev code ( #4784 )
...
* Stop embedding JS scripts on lite.html because they are also bundled into the final build
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 19:29:27 +01:00
Freddy Boulton
3a6406e5d5
ClearButton browser test ( #4749 )
...
* Icon testids
* Simpler test
* Add test
* Demo check
* Add notebook
* Revert demo
* Fix code
* Add non-None callable value
* change
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 19:22:25 +01:00
Dawood Khan
f04c7a8c5f
Fixes column width for textbox in gr.Examples based on the content ( #4700 )
...
* fix
* changelog
* Update CHANGELOG.md
* changes
* changes
* tweaks
* fix
* fix
* fix
* fix types
* fix notebooks
* Update CHANGELOG.md
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 12:21:23 -04:00
Dawood Khan
156bb26280
more tests ( #4745 )
...
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:41:50 +01:00
Yuichiro Tachibana (Tsuchiya)
cb96d657b4
Lite: refactoring the dev script ( #4753 )
...
* Rename the 'start' npm command to 'dev' for in-project consistency
* Fix the 'dev:lite' npm command to launch the dev command of @gradio/wasm as well
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:35:58 +01:00
renovate[bot]
0529dfd43e
chore(deps): update dependency mdsvex to ^0.11.0 ( #4782 )
2023-07-04 15:19:06 +01:00
renovate[bot]
db700df910
chore(deps): update dependency typescript to v5 ( #4783 )
2023-07-04 14:56:01 +01:00
Ali Abdalla
cd693708cf
Converting the website into sveltekit ( #3437 )
...
* index page
* demos page
* guides gallery page
* guides
* some docs work
* changes
* changes
* docs work
* refactor some to ssr
* more refactoring
* add metatags
* add special docs pages and improve nav
* fix prev next in combining
* add changelog
* Site slugs for new website (#3431 )
* safe slugs for docs
* add slugs to guides
* changes
* add flagging
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* make anchor tags visible on hover
* add anchor tags to docs
* fix @html in codeblocks
* fix demos in guides
* syntax highlighting code in example usage
* fix @html in changelog
* fix contributing lin
* fix assets in guides
* fix broken assets on build
* error page
* fix meta tags updating
* move guides to be /guides/[guide] instead of /[guide]
* add headers to sections and make them linkable - freddy feedback
* add guides section to docs
* tighten width and add second nav bar
* styling second nav bar
* smooth scrolling in docs and guides
* make components clickable in event listener graph
* load latest gradio.js
* menu bar on docs mobile
* scrolling highlight menu and remove base docs page
* vercel
* refactor guides
* fix slugs in docs
* fix < and code formatting in guides
* added search
* redirect all old links
* fix bad merge
* fix paths
* Fix css issue with spaces logo
* add status page link to footer
* add themes to docs
* fix new documentation.py path
* add python client docs
* make docs faster
* add clients ot docs
* colors
* convert to adapter static
* prerender
* fix broken paths in guides
* fix broken slugs
* Aliabd/website sveltekit test (#4572 )
* fixes to paths
* fixes
* typechecking
* fix
* fix
* fix
* types lib
* more type fixes
* extends fix
* typing fix
* typing fix
* json typing fix
* add jsons
* rollup
* tweak
* fix lockfile
* fix maybe
* fix maybe
* changes
* ui functional fix
* oops
* pnpm version
* fix app
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-04 16:33:22 +03:00