Dawood Khan
a4e010a96f
Fix share button position ( #5470 )
...
* fix share button position
* add changeset
* top padding
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-11 16:55:25 -04:00
Hannah
bd2fda77fc
Dispatch stop_recording
event in Audio ( #5459 )
...
* add stop recording event dispatch
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-11 10:45:06 +01:00
pngwn
3e1e8fc5d2
chore: update versions ( #5457 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 12:36:03 +01:00
pngwn
6e381c4f14
ensure dataframe doesn't steal focus ( #5456 )
...
* ensure dataframe doesn't steal focus
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-08 12:28:11 +01:00
pngwn
acabe4ed42
chore: update versions ( #5446 )
2023-09-07 23:31:34 +01:00
pngwn
7a4a89e5ca
ensure iframe is correct size on spaces ( #5447 )
2023-09-07 23:18:34 +01:00
pngwn
67bb7bcb6a
ensure dataframe doesn't scroll unless needed ( #5445 )
...
* ensure dataframe doesn't scroll unless needed
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-07 17:26:58 -04:00
pngwn
710cbb67fc
chore: update versions ( #5419 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-07 13:26:14 -07:00
pngwn
afac000633
significantly improve the performance of gr.Dataframe
for large datasets ( #5342 )
...
* virtualise the dataframe
* add changeset
* fix non visible df
* add changeset
* tweak width calculation
* check client
* add changeset
* fix weird heights
* add changeset
* remove logs
* add changeset
* fix height measurement
* fix tests
* fix rendering for short dataframes
* cleanup
* add changeset
* fix scroll and loading
* fix scollbars and loading border
* fix scollbars and loading border
* add changeset
* fix many bugs
* fixes
* maybe this
* tweaks
* fix everything
* notebooks
* remove comments
* fix things
* fix visibility issue
* tweak
* fix demos
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-07 19:36:42 +01:00
Dawood Khan
d14d63e30c
Auto scroll to bottom of textbox ( #5417 )
...
* scroll
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-07 11:53:03 -04:00
Ali Abdalla
bb31cd7dd0
Remove stable diffusion demo from landing page ( #5423 )
...
* remove stable diffusion demo
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-05 18:08:45 -07:00
pngwn
d5d0e418c9
chore: update versions ( #5361 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 17:27:32 -07:00
Dawood Khan
abf1c57d7d
Like/Dislike Button for Chatbot ( #5391 )
2023-09-01 19:20:55 -04:00
Abubakar Abid
e4e7a43199
Renders LaTeX that is added to the page in gr.Markdown
, gr.Chatbot
, and gr.DataFrame
( #5393 )
...
* fix
* add changeset
* add changeset
* cleanup
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-31 17:28:01 -07:00
Abubakar Abid
4d94ea0a0c
Adds horizontal scrolling to content that overflows in gr.Markdown ( #5394 )
...
* markdown'
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-31 16:39:49 -07:00
Abubakar Abid
79d8f9d891
Adds height
and zoom_speed
parameters to Model3D
component, as well as a button to reset the camera position ( #5373 )
...
* add params in backend
* tweaks
* add changeset
* updates
* tweaks
* lint
* cleanup
* fix tests
* add reset button
* add changeset
* lint
* add changeset
* add changeset
* lint
* add changeset
* faster
* add changeset
* undo website
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-31 12:24:22 -07:00
renovate[bot]
3d66e61d64
chore(deps): update dependency hast-util-to-string to v3 ( #5381 )
...
* chore(deps): update dependency hast-util-to-string to v3
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-30 12:19:13 -07:00
Ali Abdalla
97c3c7b173
Move scripts from old website to CI ( #5271 )
...
* delete old version docs script
* script and workflow
* if merged
* syntax
* changes
* add missing demos
* hide state component
* fix html component demo
* fix model3d guide
* fix workflow
* fix issues with oauth and main
* demo notebooks
* add changeset
* demo notebook
* refactor into existing workflows
* remove assert in networking server
* add changeset
* Fix type check
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-08-30 11:06:52 -07:00
Jared Deckard
6466652583
Cancel Dropdown Filter ( #5360 )
...
* Reset the dropdown filter on blur
* Remove focus triggered by blurring to the label
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-08-30 11:11:01 +01:00
Mehdi Bahri
4ccb9a86f1
Makes it possible to set the initial camera position for the Model3D
component as a tuple of (alpha, beta, radius) ( #5266 )
...
* Allow setting alpha
* Allow setting beta and radius
* Formatting
* Change to tuple of (alpha, beta, radius)
* Renamed parameter
* Formatting
* add changeset
* add to update
* Change to tuple of (alpha, beta, radius)
* Renamed parameter
* Formatting
* Docstring for Model3D
* rename parameter
* add changeset
* type
* 180
* dupe
* 180
* linting
* lint
* lint
* add test
* Formatting in docstring + added what unit the angles are
* Added babylon types to model3d's package.json
* pnpm lockfile
* Type narrowing of helperCamera + assumed not null
* refactor
* docstring
* lint
* type checking
* fix test
---------
Co-authored-by: Mehdi <mehdi.bahri@epicgames.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 17:02:05 -07:00
Freddy Boulton
119c834331
Faster reload mode ( #5267 )
...
* This works
* Add code
* Final touches
* Lint
* Fix bug in other dirs
* add changeset
* Reload
* lint + test
* Load from frontend
* add changeset
* Use key
* tweak frontend config generation
* tweak
* WIP ipython
* Fix robust
* fix
* Fix for jupyter notebook
* Add checks
* Lint frontend
* Undo demo changes
* add changeset
* Use is_in_or_equal
* python 3.11 changes and no if __name__
* Forward sys.argv + guide
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 17:29:15 -04:00
renovate[bot]
61803c6545
chore(deps): update dependency extendable-media-recorder to v9 ( #5370 )
...
* chore(deps): update dependency extendable-media-recorder to v9
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-29 12:02:35 -07:00
Dawood Khan
0cc7e2dcf6
Hide avatar when message none ( #5366 )
...
* hide avatar when message none
* add changeset
* frontend test and story
* test fix
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 14:40:10 -04:00
Abubakar Abid
b27f758325
Change markdown rendering to set breaks to false ( #5368 )
...
* change markdown rendering to set breaks to false
* add changeset
* update stories
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-29 11:20:41 -07:00
Dawood Khan
05892302fb
Adds kwarg to disable html sanitization in gr.Chatbot()
( #5304 )
...
* disable sanitize
* add changeset
* Fix devcontainer postCreateCommand (#5289 )
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Rotate axes labels on LinePlot, BarPlot, and ScatterPlot (#5305 )
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Added label_angle parameter to LinePlot
* add the x_label_angle and y_label_angle to the postprocess
* Add x_label_angle and y_label_angle to ScatterPlot
* Add x_label_angle and y_label_angle to BarPlot
* Remove postCreateCommand update from this PR, it is in its own PR
* Remove custumization on the devcontainer, it is on another PR
* Remove extra line on the devcontainer, it is on another PR
* add changeset
* update the parameter definition in the docstring
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* `make_waveform()` twitter video resolution fix (#5296 )
* waveform res fix
* add changeset
* add changeset
* Improve audio streaming (#5238 )
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Tweaks to `icon` parameter in `gr.Button()` (#5285 )
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* test
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Allow caching examples with streamed output (#5295 )
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
* change
* changes
* chages
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Create event listener table for components on docs (#5298 )
* changes
* changes
* remove languages from code docs
* fix img path in guide
* rework event listeners
* add changeset
* remove console log
* name it event arguments
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* requested changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* fix (#5308 )
* only start listening for events after the components are mounted (#5312 )
* only start listening for events after the components are mounted
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Restores missing part of bottom border on file component (#5313 )
* removes missing part of bottom border on file component
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (#5177 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Test Blocks.svelte footer copy (#5307 )
* test test
* fix test
* tweak
* tweak test name
* ensure login form has correct styles (#5324 )
* fix changelog generation (#5328 )
* Add ignore scripts to pnpm i in pypi action (#5316 )
* add json generation to prepare
* add changeset
* remove pnpm prepare
* add changeset
* bring back prepare, add ignore scripts
* delete changeset
* add to right commadn
* add frozen lockfile to gh_action_pypi
* remove unused gh_action_pypi script
* remove unused scripts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* ensure dropdown stays open when identical data is passed in (#5323 )
* ensure dropwdown stays open when new data is passed in
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix ci again again again (#5329 )
* fix changelog generation
* fix changelog generation
* fix
* chore: update versions (#5326 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix ci again again again (#5330 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* Fix ci again again again (#5331 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* Fix ci again again again (#5332 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* Fix ci again again again (#5333 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* fix vars
* Fix Checkbox select dispatch (#5340 )
* Fix bug
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Minor bug fix sweep (#5284 )
* changes
* changes
* add changeset
* changes
* changes
* fix box changes on website
* add changeset
* changes
* changes
* Revert "changes"
This reverts commit 189b4e844a
.
* chanegs
* changes
* changes
* changes
* changes
* add changeset
* Update fancy-bats-deny.md
---------
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>
* Fix: wrap avatar-image in a div to clip its shape (#5319 )
* fix: wrap avatar-image in a div to clip its shape
and add data url support
* add changeset
* revert get file from data url
* add changeset
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (#5341 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* add kwarg to markdown
* add changeset
* config
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Faiga Alawad <faiga.alawd91@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Keldos <Keldos.ljw@gmail.com>
2023-08-29 00:26:29 -04:00
Dawood Khan
c5bf91385a
Add chat bubble width param ( #5334 )
...
* chat width
* add changeset
* fixes
* fix
* test
* reformat
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-28 20:48:52 -04:00
pngwn
1dc797adcb
chore: update versions ( #5341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:07:20 -07:00
Keldos
3341148c10
Fix: wrap avatar-image in a div to clip its shape ( #5319 )
...
* fix: wrap avatar-image in a div to clip its shape
and add data url support
* add changeset
* revert get file from data url
* add changeset
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-25 14:37:45 -04:00
aliabid94
5f25eb6836
Minor bug fix sweep ( #5284 )
...
* changes
* changes
* add changeset
* changes
* changes
* fix box changes on website
* add changeset
* changes
* changes
* Revert "changes"
This reverts commit 189b4e844a
.
* chanegs
* changes
* changes
* changes
* changes
* add changeset
* Update fancy-bats-deny.md
---------
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>
2023-08-25 11:31:18 -07:00
Freddy Boulton
df090e89f7
Fix Checkbox select dispatch ( #5340 )
...
* Fix bug
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-25 11:42:46 -04:00
pngwn
632e4d8378
chore: update versions ( #5326 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-24 18:47:07 +01:00
pngwn
e32b0928d2
ensure dropdown stays open when identical data is passed in ( #5323 )
...
* ensure dropwdown stays open when new data is passed in
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-24 18:22:41 +01:00
pngwn
31996c991d
ensure login form has correct styles ( #5324 )
2023-08-24 16:42:28 +01:00
Hannah
2592d4e380
Test Blocks.svelte footer copy ( #5307 )
...
* test test
* fix test
* tweak
* tweak test name
2023-08-24 12:12:27 +02:00
pngwn
ba4c6d9e65
chore: update versions ( #5177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 15:41:08 -07:00
Abubakar Abid
54bcb72417
Restores missing part of bottom border on file component ( #5313 )
...
* removes missing part of bottom border on file component
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-23 15:26:09 -07:00
pngwn
f769cb6714
only start listening for events after the components are mounted ( #5312 )
...
* only start listening for events after the components are mounted
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-23 23:07:58 +01:00
pngwn
fe057300f0
delegate gradio events via a custom event dispatcher ( #5279 )
...
* delegate gradio events via a custom event dispatcher
* improve md perf + share code
* fix df markdown
* prevent model3d from rerending too frequently
* tweaks
* fix more event bugs with video
* add changeset
* optimise handle mount
* does this do anything
* fix
* remove old dispatches
* fix dropdown position
* oops
* fixes
* fix tests
* fix types
* format
* fix markdown code
* add changeset
* fix typecheck
* fix typecheck
* fix demos
* notebooks
* fix tests
* changer
* maybe this
* fixes
* add changeset
* fix chatbot alignment mobile
* fix chantbot
* add changeset
* changeset
* changeset
* storybook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-23 21:48:10 +01:00
Ali Abdalla
cf167cd1dd
Create event listener table for components on docs ( #5298 )
...
* changes
* changes
* remove languages from code docs
* fix img path in guide
* rework event listeners
* add changeset
* remove console log
* name it event arguments
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* requested changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-23 12:38:42 -07:00
Abubakar Abid
cdfd42174a
Tweaks to icon
parameter in gr.Button()
( #5285 )
...
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 15:05:22 -07:00
Abubakar Abid
a74605572d
Add height parameter and scrolling to gr.Dataframe
( #5283 )
...
* add height and scrolling to dataframe
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 14:42:02 -07:00
Hannah
804fcc058e
Add render
function to <gradio-app>
( #5158 )
...
* add function on_load to gradio-app web element
* typo
* fix test
* add ready event
* add custom events and use onMount
* add changeset
* add changeset
* move event logic
* add changeset
* clean up whitespace
* add onloadcomplete to guide
* add changeset
* add changeset
* add highlight
* change event name to render and ensure it runs after DOM mounting is complete
* update docs
* rename var
* tweak
* renaming
* tweak
* tweaks
* mount statustracker nodes
* typo
* tweaks
* copy tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 12:11:19 +02:00
Dawood Khan
92282cea6a
Chatbot Avatar Images ( #5258 )
...
* avatar images
* images
* add changeset
* fixes
* format
* type fix
* test fix
* format
* fixes
* tuple
* change to tuple
* test fix
* remove index file
* fixes
* save
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-21 17:15:59 -04:00
Hannah
502f1015bf
Ensure Blocks
translation copy renders correctly ( #5276 )
...
* fix copy render in blocks
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-21 06:54:42 -07:00
Abubakar Abid
f49028cfe3
Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components ( #5268 )
...
* changes
* katex
* add changeset
* dataframe
* add changeset
* latex in dataframe
* add changeset
* lint
* lint
* stories and types
* stories
* type
* restore lock
* pnpm lock
* fix backend tests
* xray configs
* test files
* test utils
* fix utils
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-21 06:54:20 -07:00
Hannah
46a2b600a7
ensure translations for audio work correctly ( #5264 )
...
* fix audio import
* set i18n locale
* add changeset
* tweak
* add changeset
* add curly brackets
* add changeset
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-18 17:37:19 +01:00
Abubakar Abid
06982212df
Removes scrollbar from File preview when not needed ( #5265 )
...
* fix scrollbar when not needed
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 09:13:52 -07:00
pngwn
96e4f5b922
remove index files and update test paths ( #5262 )
2023-08-18 16:33:07 +01:00
Abubakar Abid
933db53e93
Better handling of empty dataframe in gr.DataFrame
( #5256 )
...
* better handling of empty dataframe
* add changeset
* hide comments
* add changeset
* remove
* lint
* null case
* add stories
* stories
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 08:20:02 -07:00
renovate[bot]
1cefee7fc0
chore(deps): update dependency marked to v7 ( #5112 )
...
* chore(deps): update dependency marked to v7
* add changeset
* fix types
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-08-18 13:14:14 +01:00
Hannah
4b58ea6d98
Update i18n tokens and locale files ( #5216 )
...
* tokenize en strings in components and refactor en.json
* add changeset
* refactor more translation files
* more translation files
* tweak
* fix test
* fix other test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 12:36:52 +01:00
Abubakar Abid
f344592aeb
Allows setting a height to gr.File
and improves the UI of the component ( #5221 )
...
* file
* file downlaod
* add changeset
* added story
* lint
* fix test
* add changeset
* margin
* fixes
* lint
* modify
* lint
* add changeset
* revert
* revert
* add changeset
* Delete Chatbot.stories.svelte
* revert
* revert
* add changeset
* redesign
* lint
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-17 18:43:12 -07:00
pngwn
ddac7e4d0f
Ensure File component uploads files to the server. ( #5253 )
...
* fix dynamic -> interactive
* fix checks
* add changeset
* add changeset
* fix changeset
* fix linting issues
* fix typing issue
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-17 12:20:19 -07:00
Abubakar Abid
c57d4c232a
gr.Radio
and gr.CheckboxGroup
can now accept different names and values (#5232 )
...
* radio
* radio checkboxgroup
* add changeset
* type
* fix tests
* types
* fix unit test
* Update gradio/components/radio.py
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update gradio/components/checkboxgroup.py
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* fix review
* examples
* backend
* type fixes
* fix test
* fixed example
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-08-16 11:27:39 -07:00
Hannah
2b397791fe
Fix message text overflow onto copy button in gr.Chatbot
( #5242 )
...
* increase message padding before copy button
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-16 15:06:34 +01:00
pngwn
fbdad78af4
Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. ( #5215 )
...
* lazy load compoennts more granularly
* add changeset
* format
* add changeset
* fix casing
* fix casing
* fix casing
* revert changelog formatting
* add changeset
* revert changelog formatting
* add changeset
* make interactive updates work
* revert changelog stuff
* fix order
* fix static dataframe
* revert demo change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 19:21:41 +01:00
Dawood Khan
3b8053469a
Allows code block in chatbot to scroll horizontally ( #5122 )
...
* wrap
* scroll
* add changeset
* fix copy button position
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-15 10:26:54 -04:00
Freddy Boulton
e8fd4e4ec6
Completely hide api page if show_api=False ( #5219 )
...
* Add code
* add changeset
* type check
* CHANGELOG
* Update dirty-snails-love.md
* Add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 10:07:53 -04:00
pngwn
640397075d
add gradio as a devdep of @gradio/lite ( #5226 )
...
* add gradio as a devdep of @gradio/lite
* add gradio as a devdep of @gradio/lite
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 10:36:33 +01:00
Freddy Boulton
24b66e1cff
homepage demo update ( #5186 )
...
* homepage demo update
* add changeset
* Fix spacing
* Switch demo order
* asd (#5191 )
* asd (#5192 )
* homepage demo update
* Fix spacing
* add changeset
* Switch demo order
* remove endocardiogram
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-08-11 19:04:49 -04:00
pngwn
643442e1a5
generate docs json in ci, reimplement main vs release ( #5092 )
...
* fixup site
* fix docs versions
* test ci
* test ci some more
* test ci some more
* test ci some more
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* test
* fix
* add changeset
* fix
* fix
* fix
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* notebook ci
* notebook ci
* more ci
* more ci
* update changeset
* update changeset
* update changeset
* fix site
* fix
* fix
* fix
* fix
* fix ci
* render mising pages
* remove changeset
* fix path
* fix workflows
* fix workflows
* fix workflows
* fix comment
* tweaks
* tweaks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-11 15:54:56 +01:00
pngwn
9d1bd28bdf
chore: update versions ( #5038 )
...
* chore: update versions
* update actions
* update changelog
* other changelgo
* extra
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-10 16:59:00 -04:00
Jiri Puc
80be7a1ca4
chatbot conversation nodes can contain a copy button ( #5125 )
...
* chatbot conversation nodes can contain a copy button
* add changeset
* the newly added chatbot copy message button is now called show_copy_button
* chatbot's Copy component styling improved
* chatbot's Copy component - typing fix
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-10 10:11:26 -04:00
aliabid94
abec340a54
Share all media content in chat ( #5159 )
...
* test
* test
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-09 16:02:57 -07:00
Hannah
144df459a3
Add show_edit_button
param to gr.Audio
( #5149 )
...
* add show_edit_button param
* add changeset
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-09 16:38:07 -04:00
Jae-Won Chung
22aa5eba3f
Use font size --text-md
for <code>
in Chatbot messages ( #5137 )
...
* Use --text-md for <code> in Chatbot message
* add changeset
* Update js/chatbot/static/ChatBot.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-08-09 15:10:45 -04:00
aliabid94
667875b244
Live audio streaming output ( #5077 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 15:08:28 -07:00
Abubakar Abid
cd1353fa3e
Fixes the display of minutes in the video player ( #5140 )
...
* video timestamp
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 17:31:51 -04:00
Sanjaiyan Parthipan
eaa1ce14ac
Enhancing Tamil Translation: Language Refinement 🌟 ( #5136 )
...
* improve Tamil vocabulary 🔡
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 15:35:06 -04:00
Hannah
56d2609de9
Reset textbox value to empty string when value is None ( #5114 )
...
* reset value to empty string when null
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 14:53:57 -04:00
Ali Abdalla
b84a35b7b9
Add icon and link to DuplicateButton ( #5111 )
...
* fix icon/link in duplicatebutton
* add changeset
* add changeset
* add icon/link to duplicate
* add changeset
* jsons
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-07 12:54:36 -04:00
Hannah
1b017e68f6
Add interactive
args to gr.ColorPicker
( #5118 )
...
* add interactive args to colorpicker
* add changeset
* add changeset
* add colorpicker stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-07 17:25:12 +02:00
Hannah
37caa2e0fe
Add icon and link params to gr.Button
( #5080 )
...
* add icons and link params
* tweak
* add changeset
* prepend icon param with /file=
* prepend icon with /file=
* restore and add button stories
* add changeset
* param description tweak
* tweak param description
* type tweak
* fix i18n in story
* fix formatting
* fix test
* tweak
* fix typo
* fix icon bug
* fix inconsistent width
* remove <a /> target
* styling changes + add story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-04 17:47:20 +02:00
renovate[bot]
13e4783535
chore(deps): update dependency extendable-media-recorder to v8 ( #5085 )
...
* chore(deps): update dependency extendable-media-recorder to v8
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-04 08:28:58 -04:00
pngwn
1419538ea7
Refactor component directories ( #5074 )
...
* asd
* changes
* fix everything
* cleanup
* add changeset
* fix casing
* lockfile
* fix casing
* fix ci, enable linting
* fix test
* add changeset
* add changeset
* delete changeset
* fix dirs
* fix casing
* fix notebooks
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 23:01:18 +01:00
Freddy Boulton
2745075a26
Add deploy_discord to docs ( #5076 )
...
* Add deploy_discord to docs
* add changeset
* add jsons
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-08-03 10:07:13 -07:00
Abubakar Abid
7d89716519
gr.Dropdown
now has correct behavior in static mode as well as when an option is selected (#5062 )
...
* dropdown fixes
* add changeset
* add changeset
* guide
* guide
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-02 12:32:45 -04:00
Jody Zhou
f5539c7618
Enhancement: Add focus event to textbox and number component ( #5005 )
...
* Add focus event to textbox and number component
* add changeset
* Combine Blurrable and Focusable into Focusable event
* Add focus and blur to Dropdown and Colorpicker components
* add focus to home page template
* Add Focus to doc
* Fix linting error
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-08-01 16:02:50 -04:00
Hannah
883ac364f6
Add step
param to Number
( #5047 )
...
* add step param to number component
* add changeset
* fix test
* fix BE test
* fix test again
* update number.py
* fix test
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-01 12:44:33 +01:00
Hannah
6693660a79
Add download button to selected images in Gallery
( #5025 )
...
* add download button to gallery selected images
* add changeset
* add story
* tweak
* fix href val for internal file paths
* set show_download_button to True by default
* lint backend
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 19:31:49 +02:00
Hannah
5244c5873c
Allow new lines in HighlightedText
with /n
and preserve whitespace ( #5046 )
...
* allow new lines in highlighted text with /n
* add changeset
* preserve white spaces in text
* add changeset
* add changeset
* add highlighted text stories
* add changeset
* fix broken story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 16:54:29 +02:00
Abubakar Abid
620e464527
gr.Dropdown()
now supports values with arbitrary characters and doesn't clear value when re-focused (#5039 )
...
* changelog
* changes
* add changeset
* fixes
* revert
* add changeset
* python reorder
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 08:31:39 -04:00
renovate[bot]
c7a20e0970
Update dependency prettier-plugin-svelte to v3 ( #4973 )
...
* chore(deps): update dependency prettier-plugin-svelte to v3
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-29 00:00:15 +03:00
renovate[bot]
e6317d77f8
Update dependency extendable-media-recorder to v8 ( #5023 )
...
* Update dependency extendable-media-recorder to v8
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-29 00:00:03 +03:00
Ali Abdalla
42488c076a
Correct gradio version on website ( #5037 )
...
* fix jsons
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-28 21:55:17 +02:00
pngwn
861d752a83
chore: update versions ( #4999 )
...
* chore: update versions
* undo diff
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-26 17:10:24 -04:00
aliabid94
44ac8ad08d
Allow setting sketch color default ( #4979 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-25 11:39:51 -07:00
Hannah
3f8c210b01
Implement left and right click in Gallery
component and show implicit images in Gallery
grid ( #4995 )
...
* tweak responsive behaviour in gallery
* test
* add function to move left + right on click
* add changeset
* fix ts error
* Delete soft-eyes-repeat.md
* add changeset
* add gallery story
* change y overflow to scroll
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-25 15:02:44 +01:00
aliabid94
41c83070b0
Add CSS resets and specifiers to play nice with HF blog ( #4997 )
...
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-24 16:35:53 -07:00
Ali Abdalla
71c9039401
Make sure tags aren't rendered inside a guide ( #5007 )
...
* remove tags
* small fixes to guides
* add changeset
* add changeset
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-24 22:54:33 +02:00
Ali Abdalla
3e70fc81fc
Correctly render changelog on website after new formatting ( #5009 )
...
* fix changelog rendering
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-24 22:44:10 +02:00
Luke Cheng
4b0e98e40a
docs: Initiate the Chinese translation ( #4767 )
...
* docs: init for the chs translation
* docs: translate guides to Chinese. (#1 )
* 翻译文档
* update ChangeLog
* docs: add spaces with the heyspace tool
* 翻译文档
* docs: add spaces to the follow-up files
---------
Co-authored-by: Luke Cheng <2258420+chenglu@users.noreply.github.com>
* ignore cn dir in website
---------
Co-authored-by: TERRY LEE <59245973+liteli1987gmail@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-07-24 14:10:39 +02:00
Abubakar Abid
dc07a9f947
Revert "Revert "Add download button for audio"" ( #4993 )
...
* Revert "Revert "Add download button for audio (#4977 )" (#4992 )"
This reverts commit ad99df4fdd
.
* removed changelog updates
* add changeset
* credit leuryr
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-22 03:20:29 +03:00
pngwn
62306d9ed1
unified release process ( #4986 )
...
* Implement unified version and release mechanism for all python and javascript packages.
* Update gradio/package.json
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix changelog
* fix changelog
* Update js/button/README.md
* Update .github/workflows/generate-changeset.yml
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-21 19:13:21 +01:00
Abubakar Abid
ad99df4fdd
Revert "Add download button for audio ( #4977 )" ( #4992 )
...
This reverts commit c58ea4780f
.
2023-07-21 08:00:33 +03:00
Leury Rodriguez
c58ea4780f
Add download button for audio ( #4977 )
...
* Add download button for audio
* Add summary to CHANGELOG
* Add bool param to gr.Audio for button visibility
* Update CHANGELOG
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-21 07:43:15 +03:00
Abubakar Abid
683bdf7623
Release 3.38 ( #4991 )
...
* release
* changelog
* changelog
* changelog
* chatbot
* remove test
* Add code
* add min width to submit button
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-21 00:57:35 +03:00
Freddy Boulton
c57a4e2729
Add css variable for controlling chatbot user message border accent ( #4989 )
...
* Add css variable
* Fix var name
* Add CHANGELOG
2023-07-20 16:47:01 -04:00
aliabid94
b68aeea412
Improve gr.ChatInterface
UI, add autofocus to textbox ( #4978 )
...
* changes
* changes
* lint
* fix tests
* fix
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-20 14:44:52 +03:00
Hannah
a0efc1180d
Add show_download_button
to gr.Image() ( #4959 )
...
* add show_download_button param
* add static image story
* chlog
* fix test
* typo
* add default value
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix test
* fix another test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-19 19:00:02 +01:00
Hannah
224b596314
Fix cropped videos CSS bug ( #4946 )
...
* add width/height to video wrap
* add comment on progress
* add video story
* upload utils linting
* fix a11y violations
* chlog
* add width/height args
* remove on changes chromatic flag
* test
* remove test
2023-07-19 09:32:32 +01:00
Ali Abdalla
1d1dba1851
Fix responsive issues with docs, guides and changelog ( #4833 )
...
* fix right nav bar docs
* make guides responsive
* make changelog responsive
* much better side navbar
2023-07-19 03:56:12 +03:00
pngwn
181c6721b6
chore: update versions ( #4781 )
2023-07-18 07:17:59 +01:00
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