Commit Graph

53 Commits

Author SHA1 Message Date
aliabid94
59cf32e0f4
Still fixing 3 1 3a (#1932)
* changes

* changes

* changes
2022-08-02 08:23:37 -07:00
aliabid94
2a113b20f3
Release 3 1 3a (#1931)
* changes

* changes
2022-08-02 08:17:47 -07:00
Artin Mohammadi
bdced314bc
Scripts become much easier to read and understand (#1918)
* Being nice to the user

* Front-end builder, CircleCI runner, and Gradio installer updated

* The testing scripts updated

* Front-end runner and the website launcher updated

* The formatters updated

* GitHub Actions and PyPI uploader scripts updated

* Updating the URLs

* Removing commented codes

* Delete a blank line
2022-08-01 15:17:03 -07:00
Abubakar Abid
31ba09aafa
Some cleanups to the docs page (#1822)
* break execution if website isn't properly built

* small misc changes

* formatting
2022-07-19 08:53:56 -07:00
Freddy Boulton
74d632eab5
Add python-3.7 tests (#1818)
* Add python-3.7 tests

* Format components

* Use latest images

* Use python instead of python3

* Force reset cache

* Reset cache

* Use Ipython 7 for python 3.7 support

* Install chrome

* Add two text files

* Reset cache

* Use Literal from typing extensions

* Update cache key

* Linting

* Fix requests tests

* Exit if running from wrong python version

* Use one requirements file

* Fix comment

* Fix comment

* Use python 3.7.13

* empty commit

* Delete chrome driver to see if it works

* Test no chrome with new cache

* Remove chrome driver install entirely
2022-07-19 10:48:46 -04:00
aliabid94
70ebf698fa
Live website changes (#1578)
* fix audio output cache (#804)

* fix audio output cache

* changes

* version update

Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Website Tracker Slackbot (#797)

* added commands to reload script

* catch errors with git pull

* read new webhook from os variable

* correcting bash

* bash fixes

* formatting

* more robust error checking

* only sends success if git changes

* catching error from script

* escaping error text to send with curl

* correct text escaping for error message

* fix search bug in guides (#809)

* Update getting_started.md (#808)

* Fix type of server returned by `Launchable` (#810)

* `Launchable` returns a FastAPI now

* Update .gitignore

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 96f203108b]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
Former-commit-id: feba0888e3

* Add a missing line to getting started (#816)

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
Former-commit-id: 20523b0519

* changes

* changes

* Homepage: header image size (#1347)

* image size

* image in local assets

* add dall-e mini banner

* undo ui changes

* changes

* changes

* updates

* updates

* changes

* changes

* changes

* h11 dependency

* add npm build-mac

* expand demo button to all classes

* add demos to docstrings

* add anchor tags to headers

* add required tag to param table

* add consistent styling for headers

* skip param beginning with underscore from docs

* skip kwargs param from docs

* remove types in param docstring

* override signature to reflect usage

* add supported events

* add step-by-step guides

* fix guide contribution link

* add related spaces

* fix img styling on guides

* pin quickstart, advanced, and block guides to top

* margin fix

* autogenerated copy buttons for all codeblocks

* changes

* documentaiton

* format

* launch

* formatting

* style changes

* remove backticks

* changes

* changes

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Ali <ali.abid@huggingface.co>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-06 16:22:10 -07:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info (#1669)
* Use requirements.txt

* Fix checksum in circleci

* Ignore egg info dir

* Install from requirements.txt

* Install gradio

* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07:00
Abubakar Abid
4048ac11b7
6th try (#1557) 2022-06-13 13:51:32 -07:00
Abubakar Abid
3a746899c8
trying again (#1554) 2022-06-13 13:25:35 -07:00
Abubakar Abid
ef1abe1071
Act2 (#1553)
* configure

* testing
2022-06-13 13:09:31 -07:00
Abubakar Abid
e2336f1a72
working on github action fix (#1552) 2022-06-13 13:00:35 -07:00
Abubakar Abid
23cd6a02d6
permissions (#1522) 2022-06-10 00:39:46 -07:00
Abubakar Abid
32fcb775cb
Deploy to pypi using GitHub actions (#1518)
* Create deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* pypi action

* pypi action
2022-06-10 00:29:29 -07:00
Abubakar Abid
c7c93f54a3
updated PyPi version to 3.0.13 (#1483) 2022-06-07 15:54:14 -07:00
Ali Abdalla
42cee33dcf
API Docs with support for Blocks (#1397)
* backend

* updated PyPi version to 3.0.10

* updated PyPi version to 3.0.9b10

* fixes

* updated PyPi version to 3.0.9b11

* changes

* changes

* changes git push

* changes

* undo

* fixes

Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 09:10:42 -07:00
aliabid94
acb3024c3e
fix (#1415) 2022-05-28 22:03:43 -07:00
aliabid94
988f42c4b2
Broken examples hotfix (#1412)
* fix

* changes

* changes

* changes

* changes
2022-05-28 22:01:13 -07:00
Ömer Faruk Özdemir
fc054a16ab
reload-dev-mode (#1370)
* reload-dev-mode

- add dev reload mode

* reload-dev-mode

- support reload mode from different directories as well

* reload-dev-mode

- add file reload to the dev-reload-mode

* Update contributing

* Update CONTRIBUTING.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* reload-dev-mode

- fetch gradio_folder with inspect, allowing running in reload dev mode from any directory
- unite user and dev reload mode

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-25 10:12:24 +03:00
pngwn
0c94b56b0a
Cdn assets (#1265)
* create dediacted cdn bundle with correct import behaviour

* tweak regex

* update publish script

* fix gitignore

* remove repeat incidences of version

* remove logs
2022-05-15 20:43:36 +01:00
Abubakar Abid
63d0a28c08
Website Design Changes (#1015)
* adding gallery

* added netlify files

* new navbar design

* header section new design

* used by section new design

* cards section new design

* integrates with section new design

* customer stories section new design

* footer and gradient

* demos section new design

* docs fixes

* docs reorg

* docs reorg

* upgrading to tailwind 3

* tailwind config changes

* navbar new design

* fixing body on all pages

* Updating Guides  (#1012)

* updating getting started

* updated codecov version

* tweaks to gs

* added netlify file

* added netlify file

* website prebuild script

* increased code size

* blocks

* edits

* blocks_hello

* hello world

* guide

* merge main

* added flipper demo

* guide

* guide

* add guides

* tweak to refresh website

* header section new design

* demos section new design

* cards design

* used by section

* tweets section

* footer on all pages

* mobile responsive fixes

* mobile responsive fixes

* https fonts

* completed blocks guide

* unify components

* minor tweaks

* docs headers styling and navigation pane

* parameter code blocks

* styling description and input type

* parameter tables and other styling

* only documenting interactive components when possible

* guides

* embedding not working

* demos not working

* fixing demo code

* fixing demos

* demo fix

* updated demos

* updated demos

* ui update

* updated docstrings

* updated code snippets so they run

* updating docs

* Interface docs

* updating interface

* fixing parameters in interface.py

* required and defaults for interface, and styling

* fixing up interface (#1207)

* fixing up interface

* fixed interface methods

* formatting

* updating interface docs

* updating interface docs

* formatting

* docstring to load from docstrings

* fixed colors

* finalize interface content

* interface examples

* fixed examples

* added some blocks docs

* blocks

* component fixes

* reorganized some files (#1210)

* formatting

* added info for every component

* fixes

* blocks docs

* added blocks demos

* adding combined interfaces

* added parallel, series

* Doc: layout update (#1216)

* doc layout

* home spacing

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* adding layouts

* layouts done

* added events for components

* formatting and https

* brings back dropdown and other components

* fix header ids

* moved ids and fixed nav

* added parameters for remaining component

* docstring fixes

* landing page demos

* demo window placeholder

* demo nav

* fixed test

* formatting

* demo code

* correctly importing gradio  css/js

* remove keyvalues

* modify launch script to move gradio assetS

* components embedded test

* correct demo name

* hide try demo and embedding

* local devserver changes

* create embedding json with configs

* changes

* fixes

* comment out layout docs

* demo work

* demo fixes

* demo embedding fixes

* typo

* jinja fix

* demo nav fix

* hide demo button

* formatting

* removed whitespace

* remove newline from parameter

* reverting comments

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-13 19:48:46 -07:00
Ömer Faruk Özdemir
2de9ee8bfb
update-shortcut-syntax (#1234)
* update-shortcut-syntax

- fix&update gr.component
- create a demo introducing shortcuts within Blocks

* update-shortcut-syntax

- tweaks

* update-shortcut-syntax

- tweaks

* update-shortcut-syntax

- fix formatting

* update-shortcut-syntax

- tweaks
- fix tests

* update-shortcut-syntax

- tweaks
- fix tests

* update-shortcut-syntax

- tweaks
- fix tests
2022-05-13 09:30:11 +03:00
aliabid94
33ef309451
Allow Custom CSS (#1170)
* changes

* css changes

* updated PyPi version to 2.9b24

* Revert "updated PyPi version to 2.9b24"

This reverts commit 48f678f491.

* Revert "css changes"

This reverts commit d31cd525a4.

* Revert "changes"

This reverts commit fadcb12ffe.

* reverting

* reverting

* changes

* changs

* Revert "changs"

This reverts commit 49d815f6fe.

* Revert "changes"

This reverts commit 481d7c21c4.

* changes

* format

* changes

* format

* test fix

* test fix

* test fix

* fix tests

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-11 21:40:41 -07:00
aliabid94
c50a2b021a
Sharing fix for assets (#1208)
* changes

* format

* typo

* updated PyPi version to 2.9b33

* Update PKG-INFO

* removed

* formatting

* fixes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-11 16:27:58 -07:00
Ömer Faruk Özdemir
9cd4c3121f
textbox-autoheight (#1009)
* textbox-autoheight
- add max-lines to textbox

* textbox-autoheight
- reformat

* textbox-autoheight
- add demo

* textbox-autoheight
- tweaks on scripts

* textbox-autoheight
- fix tests

* textbox-autoheight
- fix tests

* textbox-autoheight
- fix tests

* textbox-autoheight
- convert default max_height from 100 to 20

* textbox-autoheight
- convert default max_height from 100 to 20
2022-04-20 14:25:47 +03:00
Ali Abid
c15885f0cc merge master 2022-04-19 00:22:43 -07:00
Ali Abid
4f1947d8c7 merge in master 2022-04-18 18:36:43 -07:00
aliabid94
5c44ae3536
Restore Interpretation, Live, Auth, Queueing (#915)
Restore Interpretation, Live, Auth, Queueing

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-04 15:47:51 -07:00
Abubakar Abid
31f9bc112d updated PyPi version to 2.8.14 2022-03-25 08:45:34 -07:00
Abubakar Abid
166ef38f45 updated PyPi version to 2.8.7 2022-03-03 15:31:10 -05:00
Abubakar Abid
ce7282a366 Merge branch 'master' into image-guides 2022-03-01 19:39:17 -05:00
Abubakar Abid
5ec886710e fixed comments; added launch website script 2022-03-01 15:40:17 -05:00
Abubakar Abid
907839926b
Merge pull request #746 from gradio-app/pnpm-fixes
updated scripts to use pnpm and removed outdated readme
2022-02-28 09:23:13 -05:00
Abubakar Abid
8cb7025608 fixed formatting 2022-02-28 08:07:54 -05:00
Abubakar Abid
5d1dd5da9a updated scripts to use pnpm and removed outdated readme 2022-02-27 12:02:36 -05:00
Ali Abid
7a273edad4 fix pypi pusher 2022-02-23 22:59:44 -08:00
Abubakar Abid
677fbae2f1 2.8.2 2022-02-21 18:30:26 -05:00
Ömer Faruk Özdemir
009796b2df Optional-Input-Clarification
- format frontend
- add format_frontend.sh script
2022-02-17 18:54:07 +03:00
Ömer Faruk Özdemir
56ce2dcc60 Optional-Input-Clarification
- when the component is optional, label it as optional
2022-02-12 15:22:27 +03: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
47b4b69290 Format-The-Codebase
- update scripts
2022-02-10 11:25:27 +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
Ömer Faruk Özdemir
6a30e5d24f
Merge branch 'master' into Accelerate-Tests 2022-02-09 08:53:33 +03:00
Ömer Faruk Özdemir
91d09b15ea Accelerate Tests
- add only pytest to the circleci for testing it
- add more filtering to pytest scripts
- add pytest-cov to reqs
2022-02-08 19:56:58 +03:00
Abubakar Abid
e75a9c0e47
Update run_frontend.sh 2022-02-07 14:47:24 -05:00
Ömer Faruk Özdemir
910d5d376f Accelerate Tests
- Update requirements.txt
- Add a warning to create_test_requirements.sh
2022-02-07 14:52:58 +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
ffcfc5dd1e File renamed 2022-02-04 15:32:15 +03:00
Ömer Faruk Özdemir
709c93ee03 Use requirement installation script in circleci installations to have single requirements list. 2022-02-04 15:23:11 +03:00
Ömer Faruk Özdemir
c22ec0fb22 Dev Requirements
- add pwd check to the scripts
2022-01-28 17:14:14 +03:00
Ömer Faruk Özdemir
5c131a2958 Dev Requirements
- edit CONTRIBUTING.md
2022-01-27 20:01:54 +03:00