Abubakar Abid
53005ab88a
Switch from SSH tunneling to FRP ( #2509 )
...
* FRP Poc (#2396 )
* FRP Poc
* Gracefully handle exceptions in thread tunneling
* comments
* Fix share error message when files are built locally (#2502 )
* fix share error message
* changelog
* formatting
* tunneling rename
* version
* formatting
* remove test
* changelog
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Wauplin <lucainp@gmail.com>
* 2509
* updated url to testing.gradiodash.com
* gradiotesting
* format, version
* gradio.live
* temp fix for https
* remove unnecessary tests
* version
* updated tunnel logic
* formatting and tests
* load testing
* changes
* Make private method + generate privilege key (#2519 )
* rm load test
* frp
* formatting
* Update run.py
* Update run.py
* updated message
* share=True
* [DO NOT MERGE] Add pymux for FRP (#2747 )
* Add pymux for FRP
* Cleaning pyamux
* Cleaning pyamux + make it work
* Forgot the thread
* Reformat
* some logs to be removed afterwards
* added share to hello world
* Transform into object
* I guess it's cleaner now
* Handle 404 + Transform to object
* Fix params names
* Add debug
* windows fix
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* removed share=True
* formatting
* hello world notebook
* version
* fixes
* formatting
* testing tunneling exists
* tests
* formatting
* lint
* Remove asyncio + kill proc on exit
* version
* version
* update changelog
* explicit message about reporting
Co-authored-by: Adrien <adrien@xcid.fr>
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-12-14 08:10:45 -06:00
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
Freddy Boulton
e0a55df7dc
Modify CI to check for unused imports ( #2555 )
...
* Add lint script + remove unused imports
* Add lint file to sc
2022-10-28 10:56:18 -04:00
Ömer Faruk Özdemir
e5fd0edce1
fix tunneling test ( #1694 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-04 17:04:44 +03:00
Halil Ibrahim Bestil
51c8c34486
Async Request Class ( #1595 )
...
* Implement Request class and its tests.
* Add new requirements
* Reformat codebase.
* Fix formatting.
* Add library level requirements.
* Convert validated_data property to get_validated_data function.
* Fix the client fixture.
* Update test/test_utils.py
* Update test/test_utils.py
* Fix the client fixture.
* Add missing initialization for Request._validated_data
* Fix async test problem with test_tunneling.py
* Update gradio/utils.py
* Update gradio/utils.py
* Fix formatting.
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-23 20:44:04 +03:00
Abubakar Abid
7071c0bd41
replaced networking.url_request with standard requests.get
2022-02-10 00:10:00 -05:00
Ömer Faruk Özdemir
972c66e09b
Format-The-Codebase
...
- solve the flake8 warnings
2022-02-09 22:52:26 +03:00
Ömer Faruk Özdemir
82cb2de626
Accelerate Tests
...
- add coverage to the circleci
- combine the divided tests into single folder
- update requirements
2022-02-09 08:50:00 +03:00
Ömer Faruk Özdemir
bb6805e25f
Accelerate Tests
...
- Create local and cloud test folders and move all the tests with duration > 1 second to the cloud tests.
- Update scripts
2022-02-07 14:29:55 +03:00
Ömer Faruk Özdemir
cc0cff893f
Format The Codebase
...
- black formatting
- isort formatting
2022-01-21 16:44:12 +03: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
Abubakar Abid
f15a033232
added some tests for tunneling
2021-10-27 10:43:34 -05:00
Abubakar Abid
8ee71ce5d7
started tests
2021-10-21 15:02:52 -05:00