Abubakar Abid
010827e211
Refactoring to replace unittests with pytests ( #2610 )
...
* replace pytests with unittests
* formatting
* test blocks
* fixed test/blocks
* test components
* working on test components
* test components
* test components almost fixed
* removed unittest
* linting
* fix remaining tests
* lint
* formatting
* changelog
2022-11-08 01:37:55 +01:00
Abubakar Abid
88e9c19c27
Cleaning up the way data is processed for components ( #1967 )
...
* remove preprocess_example
* removing methods
* added path support for images
* fixes
* video
* formatting
* fixing preprocess
* fixes
* removed from audio
* fixed file
* formatting
* serialization
* foramtting
* formatting
* removed save flag / restore flag
* formatting
* removed flagging
* removed
* load value
* fixing typing
* fixes, typing
* fixes
* file
* handling images
* formatting
* fixed serializing for flagging
* formatting
* json
* temp file
* removed processing
* changed processing
* fixed temp FINALLY
* flagging works
* fix examples test
* formatting
* async examples
* working on mix
* comment out failing test
* fixed interface problem
* fix kitchen sink deprecation warning
* gallery examples
* fixes
* fixes to serialization
* fixing label serializing
* fixed file serialization
* kitchen sink restored
* outbreak forecast updated
* formatting
* formatting and api mode
* fix 1 test :/
* fixing tests
* fixed components tests
* remvoed test files
* formatting
* fixed examples
* fixes
* formatting
* restored certain files
* added encryption
* fixed syntax mistake
* formatting
* fixed 1 test
* clean up interface
* formatting
* fixed route tests
* more fixes
* formatting
* formatting
* fixing pipeline
* format frontend
* format backend
* tweaks
* fix
* fix final test?
* merged
* Sanitize for CSV (#2017 )
* sanitize for csv
* added sanitization logic
* fixed examples
* turn cache off
* fixed example caching with optional inputs
* fixed review problems
* fixed Interface.load
* updating the tests
* updating the tests
* fix
* fixed seriailizing
* testing
* rewrite run prediction
* formatting
* await
* fixes
* formatting
* finally fixed mix
* fixed tests
* formatting
* formatting
* deserialize fix
* formatting
* fixes
* fixes
* fix
* fix tests
* fixes
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-08-23 08:31:04 -07:00
Abubakar Abid
a424832ec1
Fix async tests ( #2000 )
...
* fix examples test
* formatting
* async examples
* working on mix
* comment out failing test
* fixed interface problem
* fixes
2022-08-11 12:08:06 -07:00
Ömer Faruk Özdemir
4e218fe00f
async-interface-fix ( #1845 )
...
* async-interface-fix
- support async in interface with workarounds
- make mix.Parallel async and concurrent
* async-interface-fix
- fix & tweaks
* fix interpretation
* async-interface-fix
- fix mix
* async-interface-fix
- fix tests
- tweaks
* async-interface-fix
- take TODO notes on interface related to refactoring
* async-interface-fix
- fix test_mix
* async-interface-fix
- test create_app
* fix series
* fix series
* reformat
* fix interface test
* - fix tests by moving them async
* - bypass the test
* - bypass the test
* - bypass the test
* - bypass the test without closing it
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-10 18:29:14 -04:00
Freddy Boulton
9918a9540b
Mark tests as flaky and run in separate job ( #1735 )
...
* Mark tests as flaky and run in separate job
* Fix typo
* Fix typo
* Add test type to config
* Add quotes
* Rename job to test
* Rename job to test
2022-07-11 13:20:11 -04:00
Abubakar Abid
7a0f6b1dd2
Deprecation error if multiple functions are passed into fn
parameter in Interface
( #1623 )
...
* stack deprection
* formatting
* rewrite parallel
* formatting'
2022-06-22 23:48:42 -07:00
Abubakar Abid
d10bca27c0
Skip tests that return 429 from HF Hub API ( #1559 )
...
* skip tests
* formatting
* formatting and fixes
2022-06-13 17:57:45 -07:00
aliabid94
1c2f430a7e
Progress indicator bar ( #997 )
...
Create Status Tracker component to report progress on function calls
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-15 02:20:19 -07:00
Ömer Faruk Özdemir
6274b9099e
blocks-move-test-data ( #927 )
...
* blocks-move-test-data
- move test_data under gradio
* blocks-move-test-data
- typo
* blocks-move-test-data
- fix tests
2022-04-06 13:55:51 +01:00
Abubakar Abid
ca2d0b7ef2
brought back external and mix tests
2022-03-25 12:16:49 -07:00
Abubakar Abid
721e2db8ee
removed external tests
2022-03-24 13:39:39 -07:00
Ömer Faruk Özdemir
cc0cff893f
Format The Codebase
...
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
Abubakar Abid
44e8769a5a
Series working with external
2021-11-15 09:39:06 -05:00
Abubakar Abid
d09b24ae5f
fixed tests based on Ali's feedback
2021-11-09 12:30:59 -06:00
Abubakar Abid
424d390319
fixed tests so they do not trigger analytics
2021-11-09 08:48:55 -06:00
dawoodkhan82
bd0a2e2a81
unittests for mix
2021-05-20 15:16:16 -04:00