aliabid94
0909c35102
Duplicate spaces integration into gradio ( #4458 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
2023-06-21 12:25:25 -07:00
Aarni Koskela
4d1ad7c820
make_waveform: raise exception if ffmpeg fails ( #4578 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-21 13:34:33 -05:00
renovate[bot]
fa17457d07
chore(deps): update dependency @rollup/plugin-json to v6 ( #4613 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:25:16 +01:00
renovate[bot]
7266ca60ea
chore(deps): update dependency @fullhuman/postcss-purgecss to v5 ( #4612 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:19:42 +01:00
renovate[bot]
0807a7c227
chore(deps): update actions/setup-python action to v4 ( #4611 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 19:15:52 +01:00
renovate[bot]
efbf3b3b06
chore(deps): update actions/checkout action to v3 ( #4605 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 16:25:34 +01:00
pngwn
0ca7c34d44
tweak ( #4606 )
2023-06-21 16:16:56 +01:00
Freddy Boulton
29de12a7b0
Only run client tests on client changes ( #4595 )
2023-06-21 11:12:22 -04:00
renovate[bot]
6a92e19a0d
chore(deps): update all non-major dependencies ( #4601 )
...
* chore(deps): update all non-major dependencies
* Update website/homepage/Dockerfile
* changelog
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-21 15:56:10 +01:00
renovate[bot]
c66bba0ebf
Configure Renovate ( #4597 )
...
* Add renovate.json
* update config
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-21 15:43:04 +01:00
Hannah
2efa0b27ff
Add target="_blank" to links in markdown ( #4577 )
...
* add DOMPurify afterSanitizeAttributes hook
* changelog
2023-06-21 12:47:03 +02:00
Freddy Boulton
8c001ca769
Fix gallery style ( #4576 )
...
* Fix gallery styles
* CHANGELOG
* Fix preview height
* Add back height
* Add back height var
* Add back can_zoom logic
* can_zoom
2023-06-20 17:57:33 -04:00
Aarni Koskela
c6c545cfe0
Improve make_waveform ( #4570 )
...
* make_waveform: ensure input file exists
* make_waveform: avoid shell injection vulnerability (and as a side effect, support names with spaces)
* add test
* add test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-20 12:19:15 -05:00
Freddy Boulton
249f1865e2
Send component data on stop_recording event ( #4554 )
...
* Send audio data
* Fix webcam input
* CHANGELOG
2023-06-20 10:44:25 -04:00
pngwn
7e99ce74c7
chore: update versions ( #4358 )
2023-06-20 14:23:01 +01:00
Ali Abdalla
44c766bd1a
Better plot demos for docs ( #4528 )
...
* scatter plot demo
* bar plot
* line plot
* notebooks
* adding demos to docstrings
* put demos in docstrings
* fixes
* notebooks
* show label
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-20 07:49:07 -05:00
Abubakar Abid
81f319c081
Hotfix for bug issue template ( #4575 )
...
* remove md
* bug report original
* bug report template
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
2023-06-20 07:34:33 -05:00
Abubakar Abid
823922263a
Update issue template ( #4568 )
...
* Update bug_report_template.yml
* Update bug_report_template.yml
* Update .github/ISSUE_TEMPLATE/bug_report_template.yml
* address feedback
2023-06-20 07:01:47 -05:00
Abubakar Abid
68f7bd275c
Update pull request template ( #4569 )
...
* Update PULL_REQUEST_TEMPLATE.md
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: pngwn <hello@pngwn.io>
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-20 06:52:37 -05:00
pngwn
2b91d716c4
support changing the custom element src attributes ( #4461 )
...
* suppor changing the custom element src attributes
* changelog
* changelog again
* fix
* some fixes
2023-06-20 11:36:10 +01:00
Aarni Koskela
1068371b9f
Load iframe resizer asynchronously ( #4336 )
...
Refs #4332
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-19 21:11:51 +01:00
pngwn
d6b6c87c4f
Remove mocks ( #4550 )
...
* changes
* changes
* remove mocks
* fix scripts
* tweak port
* add logs
* add logs
* do tests again
* tweaks
* fixes
* regen notebooks
* change workers
* change workers
* try to speed up ci
* try again
* try again
* try again
* try again
* try again
* fix actions
* again
* again
* again
* again
* again
* again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* try again
* add names to frontend ci steps
2023-06-19 21:02:03 +01:00
Abubakar Abid
309baab7f6
setting visible=False
to gr.Group
hides it ( #4567 )
...
* import init
* visible=False in Group
* restore
* changelog
* Update js/app/src/components/Group/Group.test.ts
Co-authored-by: pngwn <hello@pngwn.io>
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-19 13:53:35 -05:00
Abubakar Abid
ee313c6c85
Restore some missing imports in __init__
( #4566 )
...
* import init
* fix
* restore
* restore
2023-06-19 13:39:53 -05:00
Freddy Boulton
98d1e8d291
Fix gallery select event with custom height and allow_preview=False ( #4551 )
...
* Logic for can_zoom
* CHANGELOG
2023-06-17 14:11:14 -05:00
Freddy Boulton
b7010fa0eb
Only run install steps in backend ci if not previously cached ( #4517 )
...
* dont install if cache
* Fix
* Fix client cache
* Potential fix
* Change key name
* Fix
* Use python command
* Build front-end in lint job
* Install
* Fix
* Build afterward
* Consolidate lint
* trigger ci
* Fix windows
* Use virtualenv
* New try
* Typo
* Fix typp
* Add full path
* Separate Linux and windows steps
* Typos
* shell
* trigger ci
* Fix
* use command
* Use cache for setup python too
* Separate cache for front-end
* trigger ci
* Add Don't lint on windows
* Add if changes
* Delete restore keys
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-16 15:34:06 -04:00
Freddy Boulton
d147076dce
Fix changelog ( #4552 )
2023-06-16 11:44:13 -04:00
Freddy Boulton
2ed80b74b3
Fix client test that broke ( #4539 )
...
* Fix test
* Fix other test
* Add fix
2023-06-15 18:20:06 -04:00
aliabid94
74d235697d
Fix chatbot height ( #4540 )
...
* changes
* changes
* changes
* changes
2023-06-15 14:58:31 -07:00
pngwn
979353454d
fix modal position ( #4538 )
...
* fix modal position
* changelog
2023-06-15 22:33:47 +01:00
aliabid94
42d762c616
Chatbot streaming hotfix ( #4537 )
...
* changes
* changes
* changes
* changes
2023-06-15 13:24:40 -07:00
Abubakar Abid
b3b8ff9f48
changelog ( #4532 )
...
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-06-15 14:25:28 -05:00
Freddy Boulton
e0a7f87b94
Some BarPlot Fixes ( #4531 )
...
* Fixes
* CHANGELOG
* Fix
2023-06-15 14:29:40 -04:00
Hannah
7dc73d2bec
Amend error toast and pill styling ( #4454 )
...
* remove error gradient and add border to toast
* changelog
* tweak styling for light and dark error status and toast
* run prettier
* restore removed onclick
* remove formatting
* fix dracula test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-15 19:51:09 +02:00
Abubakar Abid
36a6f37711
Fix regression in gr.Audio
( #4525 )
...
* audio format
* finish
* format
2023-06-15 12:09:47 -05:00
pngwn
e7ab0f323a
4614 chatbot ( #4527 )
...
* fix code rendering
* tweak
* changelog
* tweaks
2023-06-15 16:24:17 +01:00
Dawood Khan
03edbc6f81
Adds Latex Delimiters Parameter ( #4516 )
...
* katex
* changes
* format
* fix test
* remove None
* changelog
* Update gradio/components/chatbot.py
* Update gradio/components/chatbot.py
* tweak
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-15 14:27:18 +01:00
Charles Frye
3de6246c4a
add app_kwargs for mount_gradio_app ( #4519 )
...
* Initial commit
* adds app_kwargs for mount_gradio_app, with test
* updates CHANGELOG
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-15 06:57:09 -05:00
Abubakar Abid
d65512cb3a
Fix output directory of files in client & when calling Blocks as function ( #4501 )
...
* output dirs
* remove
* remove
* remove
* changelog
* format
* add tests
* docstring
* changelog
* client
* blocks
* fix test
2023-06-14 17:08:10 -05:00
Freddy Boulton
fbc8e37e02
Conditionally run backend ci ( #4515 )
...
* Detect paths
* Trigger CI
* Don't use expression syntax
* Skip typo
* Tweak logic
* Trigger client change
* Trigger backend
* Undo
* Undo
* scripts/tests
* Typo
* workflows for client
2023-06-14 15:12:13 -04:00
codecoaster
ee37a76906
Update 05_using-blocks-like-functions.md ( #4513 )
...
"space" here should be replaced with "Blocks"
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-06-14 12:19:19 -04:00
Dawood Khan
72fbce22ad
Fixes new line issue in chatbot ( #4491 )
...
* fix
* Update CHANGELOG.md
2023-06-14 11:43:30 -04:00
Freddy Boulton
69f36f9853
Place components separate files ( #4487 )
...
* Move files
* Add missing
* Fix tests
* Merge main
* Lint
* Remove literal
* add documentation decorator
* lint
* Remove typing_extensions
* Fix documentation tag
* ClearButton to components
* Add file
* import
2023-06-14 11:26:10 -04:00
Ali Abdalla
d93c476779
Fix demos on the landing page ( #4510 )
...
* echocardiogram demo
* qa dmeo
* qa dmeo
* timeseries-forecast deo
* xgboost demo
* generate notebooks
2023-06-14 18:39:12 +04:00
pngwn
69291ff89d
improve error UX ( #4459 )
...
* improve error UX
* revert demo
* scroll errors into view if necessary
* changelog
* changelog
* fix error
* fix
* revert demo change
* implement review suggestions
* ensure error message are only trimmed if the begin and end with single quotes
* changelog
* attempt 2 at iframe scrolling
* tweak
2023-06-14 12:50:59 +01:00
Freddy Boulton
afcc20801e
Deprecate python 3.7 ( #4484 )
...
* Remove versions from 3.7
* CHANGELOG
* from typing import Literal
* Remaning places 3.7
* Last few spots
* Use 3.8 in lint
2023-06-13 21:52:33 -04:00
Abubakar Abid
4729457929
Add a gr.ClearButton
( #4456 )
...
* clear button
* restore
* button in interface
* changelog
* fixes
* simplify
* changes
* components
* changed dropdown behavior
* fix label
* add tests
* update demos
* changelog
* changelog
* restore
* formatting
* revert dropdown
* frontend changes
* other fixes
* changelog
* update guide
* future
* fix tests
* fix tests
* fix tests
* changelog
* update guide
2023-06-13 19:18:14 -05:00
aliabid94
bda25eb19c
Fix JS call ( #4486 )
...
* changes
* changes
2023-06-12 19:24:09 -05:00
Freddy Boulton
3383d8872b
Add option to disable the detailed view of the gallery ( #4470 )
...
* Add feature
* Fix unit test
* CHANGELOG
* Rename to allow_preview
2023-06-12 17:11:41 -04:00
Freddy Boulton
ba25158420
Fix video conversion bug ( #4467 )
...
* Fix bug
* CHANGELOG
* Add feature
* Revert "Add feature"
This reverts commit 834fed6a9f
.
---------
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-06-12 16:48:43 -04:00