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
Hoàng Tùng Lâm (Linus)
66ef85b874
Fixed misleading log when server_name is '0.0.0.0' ( #2176 )
...
* Fixed misleading log when server_name is '0.0.0.0'
* some cleanups
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-04 18:48:08 -07:00
Abubakar Abid
871c9713b4
Restored /api/predict/ endpoint for Interfaces ( #1199 )
...
* updated PyPi version to 2.9b25
* added /api/predict reverse compatibility
* fixed flagging
* formatting
* fixed networking tests
* added queue false
2022-05-09 18:05:30 -07:00
Abubakar Abid
82e95e259c
Flagging fixes ( #1081 )
...
* only show flagging button if manual
* fixing flagging
* fixed flagging examples issue
* formatting
* cleanup
* fixed tests
* predictbody
* formatting
* fixed tests
2022-04-27 00:32:57 -07:00
Ömer Faruk Özdemir
72df62daea
remove-queue-from-events ( #1056 )
...
* remove-queue-from-events
- enable_queue exists just under Blocks.launch()
* remove-queue-from-events
- enable_queue exists just under Blocks.launch()
* remove-queue-from-events
- fix tests
* spaces-defaults (#1057 )
* spaces-defaults
- enable_queue and cache_examples are activated in spaces in default option
* spaces-defaults
- tweaks
2022-04-26 00:35:47 +03:00
Ali Abid
1089bc67ef
test fixes
2022-04-19 01:35:17 -07:00
Ali Abid
48c42da3d4
test fix
2022-03-24 22:58:07 -07:00
Abubakar Abid
8cb7025608
fixed formatting
2022-02-28 08:07:54 -05:00
Abubakar Abid
b0439c16b9
fixed test
2022-02-28 08:01:13 -05:00
Abubakar Abid
95ff9740e5
formatting
2022-02-27 16:47:12 -05:00
Abubakar Abid
ea96e1f753
small fix to start_server docstring & added a test
2022-02-27 16:44:59 -05: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
87d7fbee61
Format-The-Codebase
...
- format the codebase
- add format checkers to circleci
2022-02-09 10:40:05 +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
Abubakar Abid
3261722ac7
Queuing tests
2022-01-25 16:52:09 -06:00
Abubakar Abid
8ccd82187c
renamed app.py to routes.py, separated tests
2022-01-25 14:32:32 -06:00
Abubakar Abid
888c8ee2c8
additional tests
2022-01-24 18:03:52 -06:00
Ömer Faruk Özdemir
cc0cff893f
Format The Codebase
...
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
Abubakar Abid
3a79fe754a
fixing tests
2022-01-09 23:49:03 -06:00
Abubakar Abid
eb3c082039
flagging tests not passing
2022-01-08 13:17:18 -06:00
Abubakar Abid
86c6a61b55
fixed tests
2022-01-07 10:25:41 -06:00
Abubakar Abid
560b6d3b64
fixed auth issue
2022-01-05 16:12:58 -05:00
Abubakar Abid
c3cb06a17c
fixed tests
2022-01-04 12:58:37 -05:00
Abubakar Abid
9a95387a73
merged master
2021-12-22 00:18:32 -06:00
Abubakar Abid
9d54d13d54
allows you to fix port; deprecates server_port, server_name parameters in Interface()
2021-12-17 10:43:11 -06:00
Abubakar Abid
160a037989
added test for checking if static files are served safely
2021-12-14 17:05:02 -06:00
Abubakar Abid
b44d41ece8
fixed tests
2021-11-20 17:45:13 -06:00
Abubakar Abid
fa78beddb0
refactored flagging
2021-11-13 00:33:59 -06:00
Abubakar Abid
1f011336f9
merged in master
2021-11-12 12:10:55 -06: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
459ce2ca2a
added more tests for networking
2021-11-03 16:08:19 -05:00
Abubakar Abid
726870d3ab
removed /static test because it requires npm build
2021-11-02 15:08:50 -05:00
Abubakar Abid
27a4b4e637
rewrote DefaultFlaggingHandler not to need app
2021-11-01 11:40:51 -05:00
Abubakar Abid
14f2e46b19
added first round of tests for networking.py
2021-10-26 16:36:11 -05:00
Abubakar Abid
031d7069c4
tests for networkign
2021-10-26 15:57:03 -05:00
Abubakar Abid
2c1ca70af8
Merge branch 'master' of github.com:gradio-app/gradio
2021-10-26 13:20:24 -05:00
Abubakar Abid
44f5600fd5
made ipython tests skipped if not imported
2021-10-26 13:20:18 -05:00
Ali Abid
1507786b4e
fix tests for static pathfunctionality change
2021-10-26 17:07:14 +00:00
Abubakar Abid
b96ac29e48
more tests for networking
2021-10-26 07:57:29 -05:00
Abubakar Abid
bdf9c69353
networking tests
2021-10-25 11:06:36 -05:00
Abubakar Abid
1e8cc4a333
added some networking tests
2021-10-24 03:56:54 -05:00
Abubakar Abid
8ee71ce5d7
started tests
2021-10-21 15:02:52 -05:00
Ali Abid
14ba503b77
add testing and flask changes
2020-09-21 11:51:39 -07:00
Abubakar Abid
924cb0e1be
fixed broken tests
2020-07-08 17:02:17 -05:00
Abubakar Abid
773c30ca2d
fixed networking issue
2020-07-01 11:51:36 -05:00
dawoodkhan82
ee5a9df55f
unit test fixes
2020-06-11 15:31:44 -04:00