Commit Graph

3196 Commits

Author SHA1 Message Date
Ali Abdalla
01f52bbd38
Copy button on code blocks (#597)
* adding copy button

* fixed getting started; modified copy button code

* color change and click feedback

* overflow, overlay issue, click feedback

* changed flashing color to darker orange

* copy button only visible on hover

* switched to tailwind
2022-02-15 04:38:11 +04:00
aliabid94
1f7e5c7b41
Tests Fix (#609)
* test commit

* fix yellow colow

* height fixes

* fix

* fix golder images

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-14 15:27:29 -08:00
pngwn
db59544d50
add unit tests (#602)
* add unit tests

* add tests to ci

* fix naming of tests
2022-02-14 15:24:04 +00:00
Ali Abdalla
e68c3188a1
Restoring Style on Guides (#595)
* restoring related spaces styling

* increased img width

* switched to tailwind
2022-02-12 03:56:44 +04:00
Abubakar Abid
6f8afa0eb5
Merge pull request #600 from gradio-app/formatting-fix
formatting fixes
2022-02-11 11:46:41 -05:00
Abubakar Abid
085910c757 formatting fixes 2022-02-11 11:46:11 -05:00
Abubakar Abid
80330ccd1e
Merge pull request #599 from xTayEx/xtayex/fix_api_mode
Fix `api_mode`
2022-02-11 11:45:08 -05:00
xtayex
82f999a847 fix api_mode in Series 2022-02-11 15:13:16 +08:00
xtayex
a3e95d68ee fix 2022-02-11 14:49:25 +08:00
xtayex
66ad4ab2e1 fix api_mode bug in gradio.mix.Parallel() 2022-02-11 14:36:08 +08:00
pngwn
1ce8360f70
remove frontend directory (#598) 2022-02-10 20:18:32 +00:00
pngwn
37c8ee3974
use ui for frontend (#589)
* add static src to modify sketch

* add themes

* update all tooling to use the new frontend dir

* revert formatting

* update template index

* fix formatting

* fix scripts for new ui folder

* remoce console.logs

* remoce console.logs

* ensure dataeries clear works correctly

* ensure label chart has correct width

* remove cropper when component is destroyed

* update tailwind

* remove console logs

* fix formatting

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-10 19:22:22 +00:00
Ömer Faruk Özdemir
316de05e5e
Merge pull request #594 from gradio-app/Format-The-Codebase
Format-The-Codebase
2022-02-10 11:26:05 +03:00
Ömer Faruk Özdemir
47b4b69290 Format-The-Codebase
- update scripts
2022-02-10 11:25:27 +03:00
Ömer Faruk Özdemir
c9298b3802
Merge pull request #574 from gradio-app/Format-The-Codebase
Format-The-Codebase
2022-02-10 11:18:52 +03:00
Ömer Faruk Özdemir
934071d607 Format-The-Codebase
- add a format script
- solve a conflict between flake8 and black
2022-02-10 11:13:49 +03:00
Ömer Faruk Özdemir
8251a52447 Merge branch 'Format-The-Codebase' of https://github.com/gradio-app/gradio into Format-The-Codebase 2022-02-10 11:12:34 +03:00
Ömer Faruk Özdemir
4c5e116709 Format-The-Codebase
- add a format script
- solve a conflict between flake8 and black
2022-02-10 11:12:26 +03:00
Abubakar Abid
7071c0bd41 replaced networking.url_request with standard requests.get 2022-02-10 00:10:00 -05:00
Ömer Faruk Özdemir
6884523ac8 Revert "Format-The-Codebase"
This reverts commit 4d8654f01f.
2022-02-10 00:08:59 +03:00
Ömer Faruk Özdemir
4d8654f01f Format-The-Codebase
- try reverting dtype change
2022-02-09 23:30:53 +03:00
Ömer Faruk Özdemir
0db8e50312 Format-The-Codebase
- revert the last change
2022-02-09 23:25:48 +03:00
Ömer Faruk Özdemir
44917c2e5d Format-The-Codebase
- get Number import back
2022-02-09 23:19:03 +03:00
Ömer Faruk Özdemir
972c66e09b Format-The-Codebase
- solve the flake8 warnings
2022-02-09 22:52:26 +03:00
Abubakar Abid
90c28eae46
Guides fixes (#565)
* fixed guides; added contributing guidelines

* updated guide contributing

* fixed flagging guide

* updated organization of readme files

* fixed and brought back readme_template

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-02-09 20:33:16 +04:00
Ömer Faruk Özdemir
6a77a30a4a Format-The-Codebase
- solve the conflict between black and isort
2022-02-09 17:32:43 +03:00
Ömer Faruk Özdemir
23af8e559c Format-The-Codebase
- isort repo
2022-02-09 16:42:32 +03:00
Ömer Faruk Özdemir
3a9d018eab Format-The-Codebase
- rename a test
2022-02-09 16:15:01 +03:00
Ömer Faruk Özdemir
80b5e117c9 Format-The-Codebase
- format the code-base
2022-02-09 14:56:41 +03:00
Ömer Faruk Özdemir
0dc920b36f Format-The-Codebase
- format the code-base
2022-02-09 14:55:18 +03:00
Ömer Faruk Özdemir
4f49ea0018 Format-The-Codebase
- add venv activation before formatting checks
2022-02-09 13:37:25 +03:00
Ömer Faruk Özdemir
d0eab2ecf2 Merge branch 'master' into Format-The-Codebase 2022-02-09 11:17:51 +03:00
Ömer Faruk Özdemir
3c163f58c4 Format-The-Codebase
- move formatting checkers after tests
2022-02-09 11:08:01 +03:00
Ömer Faruk Özdemir
b9e5950bce Format-The-Codebase
- fix circleci config
2022-02-09 11:07:08 +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
f932e3fe71
Merge pull request #551 from gradio-app/Accelerate-Tests
Accelerate Tests
2022-02-09 10:36:11 +03:00
Ömer Faruk Özdemir
7619ae76d1 Accelerate-Tests
- speed up a test with a smaller model
- add torch to reqs
2022-02-09 10:24:30 +03:00
Ömer Faruk Özdemir
4d9e3f4cda Accelerate-Tests
- speed up a test with a smaller model
2022-02-09 09:38:40 +03:00
Ömer Faruk Özdemir
75a4bb95cb Accelerate-Tests
- remove pytest options from circleci config to prevent raising error
2022-02-09 09:18:46 +03:00
Ömer Faruk Özdemir
6a30e5d24f
Merge branch 'master' into Accelerate-Tests 2022-02-09 08:53:33 +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
Abubakar Abid
31fbdd9e40
Merge pull request #570 from gradio-app/fixes-https-cors
Adds support for https
2022-02-09 00:22:34 -05:00
Abubakar Abid
60728a4a20 enabled support for https 2022-02-08 23:45:18 -05:00
Abubakar Abid
02eaf4cfcc correctly handle no internet connection with share=True 2022-02-08 20:04:26 -05:00
Abubakar Abid
38748861dc
Merge pull request #566 from gradio-app/abidlabs-patch-1
Update feature_request.md
2022-02-08 18:55:57 -05:00
Abubakar Abid
127cc8e6bf
Update feature_request.md 2022-02-08 18:55:34 -05:00
aliabid94
c079055049
Chatbot hotfix (#564)
* fix css style, state

* updated PyPi version to 2.8.0b4

* updated PyPi version to 2.8.0b5

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-08 15:16:34 -08:00
Abubakar Abid
e19eb0dc3c
Merge pull request #560 from LysandreJik/upgrade-black
Upgrade black to version ~=22.0
2022-02-08 17:37:22 -05:00
Abubakar Abid
67d8328fd4
Merge branch 'master' into upgrade-black 2022-02-08 17:37:16 -05:00
aliabid94
2ad48751d7
website fixes (#561)
Co-authored-by: Ali <ali.abid@huggingface.co>
2022-02-08 11:58:41 -08:00