pngwn
068132836c
Style updates ( #1350 )
...
* clean up python style api
* allow Box to be styled
* changes
* update style args and add md doc detailing
* cleanup
* add deprecation warnings
* fix
* formatting
2022-06-01 18:02:18 +01:00
Dawood Khan
7b9cba0e9e
File Cached Examples Fix ( #1334 )
...
* fix file cache examples issue
* format
* fix for tests
* format fix
* fix multiple files input
* format
* format
* fix preprocess example
* fix multiple file output
* remove single_file const
* fix tests + format
* renamed demo
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-01 12:23:12 -04:00
Abubakar Abid
576bd227fc
Fixes gr.Interface.load()
( #1436 )
...
* format backend
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-01 08:35:33 +03:00
pngwn
7b4ad81d59
update plot ui ( #1405 )
2022-05-30 15:21:36 +01:00
aliabid94
40ed4df9ad
fix examples [hotfix] ( #1411 )
...
* fix
* changes
* changes
2022-05-28 21:56:05 -07:00
Dawood Khan
2eaf61cf76
Integration tests ( #1182 )
...
* some integration tests
* more integration tests
* more tests
* update integration tests
* format
2022-05-27 04:53:50 -04:00
pngwn
55db5c187a
add cdn entrypoint ( #1387 )
...
* add cdn entrypoint
* cleanup
2022-05-27 02:17:13 +01:00
aliabid94
d35e06abe7
Minor cosmetic changes ( #1383 )
...
* changes
* pass tests
* change to source sans
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-26 14:33:28 -07:00
aliabid94
3a7f9a3b1a
Allow users to return dicts for values ( #1373 )
...
* changes
* changes
* add visible flag
2022-05-24 23:30:24 -07:00
Victor Muštar
0ab254b82f
Mute examples videos ( #1363 )
...
* mute examples videos
* set attrs onmount for safari
Co-authored-by: Radames Ajna <radamajna@gmail.com>
2022-05-24 13:08:08 -07:00
Ömer Faruk Özdemir
e4b5d4c1b7
Reload mode on ( #1278 )
...
* reload-mode
-trys save
* reload-mode
- create minimal reloading example
* reload-mode
- create minimal reloading examples
* reload-mode
- amend
* reload-mode
- add user_mode
* reload-mode
- tweaks
* updated PyPi version to 3.0.3
* reloading
* reload
* formatting
* flexibility in naming
* added dev_mode flag to config
* added app id
* frontend changes
* changed debug level to warning to make less verbose
* Update ui/packages/app/src/main.ts
* fixed tests
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-23 14:38:53 -07:00
pngwn
494c09a7be
Small bugs ( #1324 )
...
* initialise gallery images to None, fix icon
* dispatch submit event when pressing return on 1 line textbox
* Update ui/packages/app/src/components/Gallery/Gallery.svelte
* Update ui/packages/app/src/components/Gallery/Gallery.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-18 15:21:17 -07:00
pngwn
096f4b5b56
add label to data frame ( #1328 )
2022-05-18 15:14:12 -07:00
pngwn
e535cd8a35
tweak bg colour ( #1307 )
2022-05-17 14:58:25 +01:00
aliabid94
e828a68c98
Website fixes ( #1302 )
...
* changes
* changes
2022-05-17 06:26:14 -07:00
pngwn
79895e0e9d
ensure table works on mobile ( #1277 )
...
* ensure tables works on mobile
* remove logs
* formatting
2022-05-16 11:55:24 -07:00
aliabid94
2a93225952
Create Streamables ( #1279 )
...
* changes
* fix
* fix for vars too
* changes
* fix tests
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-16 11:51:09 -07:00
pngwn
a62879b8fe
Dm ( #1284 )
...
* fix
* more tweaks
* fix import
2022-05-16 19:34:08 +01:00
pngwn
e49cf6f72d
only affect links within the document ( #1282 )
2022-05-16 18:29:19 +01:00
pngwn
8b1a50775a
General tweaks ( #1276 )
...
* tweaks + radio fix
* remove unused prop
* revert demo
* ensure table renders empty strings and zeroes
* remove logs
* remove bundle stats
2022-05-16 18:22:09 +01:00
aliabid94
a4aa6a2cb9
Add embedded demos to website ( #1270 )
...
* 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
* styling demo window
* copy work
* hide demo buttons
* remove index
* remove layouts from docs
* remove merge artifact
* merge dockerfile
* chagnes
* changes
* changes
* changes
* styling demo window
* revert most things
* whoops
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* format
* changes
* fixed Dataset docstring
* fix component signature and add required
* adding string shortcuts
* fix small issues parameter docstringss
* string shortcuts
* fixed gallery and label values
* added for remaining parameters
* formatting
* extended embedded components
* typo
* remove capitalization from embeddings
* try examples button
* added demos for blocks and combining interfaces
* demos styling
* homepage update (#1275 )
* spacing
* remove console.log
* demo window fixes
* new spaces
* shorten codeblock width
* fix plot
* better string shortcuts
* add embedding config for json
* remove console log
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-16 11:45:38 -04:00
pngwn
b69e8cb151
maybe fix auth in iframes ( #1261 )
...
* maybe fix auth in iframes
* remove comment
* Update gradio/templates/frontend/index.html
* fix gitignore?
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-16 11:07:11 +01: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
pngwn
ed074f9cff
Static forms ( #1264 )
...
* refactor dynamic-static detection
* refactor dynamic-static detection
2022-05-15 18:44:15 +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
pngwn
97929ee795
ui apis for dalle-mini ( #1258 )
...
* ui apis for dalle-mini
* changes
2022-05-13 18:37:55 -07:00
pngwn
3a903d9e80
add global loader for gradio app ( #1251 )
...
* add global loader for gradio app
* trigger error state when config fails to load
2022-05-14 00:47:46 +01:00
pngwn
700c4fc9cf
Layout bugs ( #1246 )
...
* fix layout issues
* fix visible kwarg + demo tweak
* fix blocks error wwhen parent is not column or row
2022-05-13 15:47:50 +01:00
Radamés Ajna
1c3dffd291
Default Label label value ( #1239 )
2022-05-13 01:23:45 +01:00
pngwn
c00e9f9a85
ensure defaults height match for media inputs ( #1236 )
...
* ensure defaults height match for media inputs
* gallery tweak
* cleanup logs
2022-05-12 21:45:45 +01:00
pngwn
19afc1c70e
css tweaks ( #1235 )
...
* css tweaks
* backend for equal_height
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-12 21:27:21 +01:00
pngwn
5ba2e06e69
Tweaks ( #1230 )
...
* tweaks
* tweaks
* tweak loader dark mode
* gallery tweaks
2022-05-12 19:24:28 +01:00
pngwn
2e31988718
tweaks ( #1229 )
...
* css tweaks
* tweak
* loader tweaks
2022-05-12 18:47:40 +01: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
pngwn
291e287302
fix placeholder prompt ( #1215 )
2022-05-11 08:56:22 -07:00
aliabid94
ce47c48ebc
Update component config ( #1089 )
...
* first commit
* changes
* restore defualt_value name
* changes
* rm value=
* rm value=
* rm value=
* changes
* changes
* changes
* rename default_val to value
* changes
* changes
* changes
* changes
* format
* changes
* changes
* format
* test fix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-10 17:11:43 -07:00
pngwn
4ca48284bb
hltext-label ( #1204 )
...
* show highttext label + tweaks
* show highttext label + tweaks
2022-05-10 17:01:36 +01:00
Victor Muštar
962a254a6b
WIP: Add dark mode support ( #1187 )
...
* add gray 950 to tailwind config
* overwrite global css for dark-mode
* add dark-mode to css tokens
* add dark-mode to components
* workbench dark-mode update
* checkbox tweak
* create icon components
* tweaks
* formatting
* formatting
* handle dark mode query params + system settings
* fix css
Co-authored-by: pngwn <hello@pngwn.io>
2022-05-09 17:26:09 -07:00
pngwn
3fe954bd55
Table tweaks ( #1195 )
...
* ensure table scrolls
* tweaks
* fix overflow on columns
* layout tweaks
2022-05-09 16:18:13 +01:00
pngwn
94ab75dbec
962 dataframe ( #1186 )
...
* refresh dataframe
* add fixed rows + cols to dataframe
* tweaks
* validate dataframe headers + col_count
* cleanup
* cleanup
* make linter happy
* fix test
* fix test again
* fix test definitely this time
* implement file drop support for dataframe
* remove leftover files
* tweaks
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-08 21:55:02 -07:00
pngwn
936631c5b4
1183 component height ( #1185 )
...
* fix flex for layouts
* fix row form groups
* cleanup
2022-05-07 16:50:31 +01:00
pngwn
56222fbe2b
1148 loading status ( #1164 )
...
* update loader
* fix for non queued statuses
* remove logs
* Update demo/fake_gan/run.py
2022-05-05 20:05:05 +01:00
aliabid94
3e4ac376f5
Custom JS calls ( #1082 )
...
* first
* requested changes
* fix
* changes
* fixes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-04 09:02:29 -07:00
aliabid94
ad1fffd496
Allow enabling queue per event listener ( #1155 )
...
* changes
* test fix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-03 17:35:38 -07:00
aliabid94
8464481e22
image gallery component + img css ( #1140 )
...
* first commit
* format
* first commit
* Gallery component (#1142 )
* gallery
* ui update
* scroll gallery items, keeping them centered
* fix keyboard event
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
* formatting
* formatting
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-03 14:49:51 -07:00
pngwn
1802c5c24d
html tweaks ( #1145 )
...
* html tweaks
* formatting
2022-05-03 14:44:17 -07:00
pngwn
215ff72e32
move styling for interface panels to frontend ( #1146 )
...
* move interface row styling to frontend
* move interface row styling to frontend
* tweak form grouping
* Update docstring
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-03 14:29:11 -07:00
pngwn
eca95a549d
Timeseries improvements ( #1149 )
...
* ensure chart works with decimal values + generatesaxis lines for values below 10
* add negative example
* use color palette for chart
* add colors kwarg to Timeseries
* fix test?
2022-05-03 14:05:17 -07:00
pngwn
e34210ccda
max_lines + autoheight for textbox ( #1153 )
...
* ensure autoheight always reruns when value changes
* implement lines + max_lines for textbox
* update demo
* fix test
2022-05-03 18:28:57 +01:00
pngwn
ce77c73551
add select event for tabitems ( #1154 )
2022-05-03 18:21:29 +01:00
aliabid94
b0306e716d
Restore queue in Blocks ( #1137 )
...
* first commit
* format
* fix tests
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-02 16:17:53 -07:00
Dawood Khan
190858ffb2
Chatbot custom color support ( #1092 )
...
* add color functionality to chatbot text bubbles
* chagne chatbot background colors
* chatbot color fixes
* merge conflict fix
* format fix
* chatbot fixes
* format
* remove prints
2022-05-02 09:41:20 +01:00
Victor Muštar
5f6ff85106
Examples UI ( #1121 )
...
* add fonts
* Update tailwind.config.js
* Examples UI
* demos examples update
* text align
* prettier
* formatting
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-02 09:38:18 +01:00
Abubakar Abid
122b988f45
made default value in textbox empty string ( #1135 )
...
* made defaultvalue in textbox empty string
* updated PyPi version to 2.9b12
2022-04-29 18:32:13 +01:00
pngwn
f85686975e
Optional labels fe ( #1105 )
...
* optional labels
* added prop
* Added IOComponent class
* get component fix
* fixed component function
* fixed test components
* formatting
* fixed output tests
* working on blocks tests
* fixed test blocks
* cleanup
* respect show_label prop in all components
* Update ui/packages/app/src/components/File/File.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/app/src/components/Audio/Audio.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/atoms/src/BlockLabel.svelte
* foirmatting
* formatting again
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-27 11:47:15 +01:00
pngwn
2b0898b9a2
Scroll to output ( #1077 )
...
* implement loader + scroll into view
* changes
* refactor components to use Block inside the app
* cleanup
* cleanup
* implement all changes for all changes for all relevant components
* fix formatting
* demos
* add status tracker to every component
* fix tests
* fix unti test flake: randInt
* cleanup CI
* fix CI
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
Ron Au
73ac1e1389
Dark text ( #1049 )
...
* fix(ui): Apply dark bg when dark theme set
* fix(ui): Increase contrast for dark theme text
* Fix formatting
2022-04-26 15:03:03 +01:00
pngwn
0cecff4672
Form layout ( #1054 )
...
* implement form grouping
* demo to showcase form groups
* cleanup
* apply tw classes for custom classes
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* fix formatting
* ignore index.html
* fix gitignore
* fix gitignore
* fix gitignore
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-04-22 10:19:59 +01:00
Victor Muštar
87ea33dc42
UI design update ( #1041 )
...
* ui update
tabs
button
container
spacing
responsive row
mobile
chatbot
style
JSON node
* ui misc
* gradio orange shades
* workbench layout
* button shade
* rm unused
* audio animation
* tabs spacings
* table
* form update
* misc
* misc
* sketch placeholder
* table update
* table rings
* JSON copy button
- Logic not implemented
* textbox default placeholder
* table
remove old table
* label style
* button global css
* Update Button.svelte
* cs
* table btn
* carousel height
* audio style
* audio static
* static image size
* formatting
* skip test that aren't testing anything
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:27:12 +01:00
Ron Au
c1956bfc68
fix(ui): Increase contrast for footer ( #1048 )
2022-04-21 10:16:11 +01:00
Ron Au
abad6383df
Update text ( #1050 )
...
* docs(CONTRIBUTING): Update with new details
* docs(ui): Update with correct details
* fix(Error): Fix minor typo
* docs: Link to `ui` readme from contributing guide
* Update CONTRIBUTING.md
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:07:43 +01:00
Abubakar Abid
5c34d91865
added better default labels to form components ( #1040 )
...
* added better default labels to form components
* updated default labels
* formatting
* fixed tests
2022-04-20 10:54:44 -07:00
Dawood Khan
c480fb0e0c
Model3D Examples fixes ( #1035 )
...
* fix examples
* fixes
* fix moddl3d examples
* format fixes
* fixed tests
* fix tests
* fix clearColor null
Co-authored-by: Dawood Khan <dawoodkhan@DawoodsWorkMBP.localdomain>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-20 11:43:21 -04: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
Dawood Khan
499f106c9e
Model3D + Plot Components ( #1010 )
...
* add model3D
* model3d component
* add plot component
* format
* ingnore plot.svelte from prettier
* update build script
* update circleci config
* remove circleci config change
* change build script
* remove change to build script
* remove plot.svelte
* remove duplicate save_flagged func
* fix node space issue + format issues
* Update ui.yml
* Update ui.yml
* Update ui.yml
* remove changes to config files
* updated codecov version
* Update ui.yml
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04: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
Dawood Khan
873060a354
Image3D Examples Fix ( #1001 )
...
* fix 3d model examples
* format fix
* cache_examples in image demo
* fix cached examples
* fixed cached example bug
* fixed formatting
* fixed tests
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 23:23:02 -07:00
Dawood Khan
7552e1ef6c
Plot Component ( #805 )
...
* plotly + matplotlib component
* update plot demos and plotly component
* fix gray bg
* format
* pnpm lock file
* add bokeh
* update plot demo
* add bokeh support
* ignore plot file
* fixed demo
* fixed sorting
* update image-plot deprecation warning
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 14:45:31 -07:00
Abubakar Abid
e0a64e5b55
added interactive parameter to components ( #992 )
...
* added interactive parameter to components
* respect interactive prop
* fixed input tests
* fixed output tests
* fixed test_components.py
* fixed test blocks
* fixed test utils
* fixed formatting
* update test configs
* fix textbox static output
* static audio output
* static video output
* cleanup
* static inmage output
* Static Timeseries
* cleanup outptus fopr markdown _ html
* ensure dataframe can load in static mode
* tweaks
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-14 15:12:30 +01:00
Dawood Khan
eebe7b57b0
Issue #785 : add footer ( #972 )
...
* add footer
* fix logo align
* frontend
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 14:08:12 -07:00
pngwn
9cb40dc99a
ensure dataframe updates as expected ( #981 )
...
* ensure input updates as expected
* ci debug
* ci debug
* ci debug
* fix broken path
* cleanup
* cleanup
* cleanup
* remove pkg-up
* fix dataframe
* ensure headers can be edited
* allow the table to render empty content without exploding
* fixed components and test components
* fixed test inputs and test outputs
* formatting
* Update test_components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 21:53:35 +01:00
aliabid94
1d3cb510bb
State and variables ( #977 )
...
Restore state and add variables component
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-12 18:41:13 -07:00
Ömer Faruk Özdemir
a1509850dc
Merge in Examples and cache_examples fixes
...
* soft reset and remove a commit,
then commit the further commits again
* fix flagging for tests
* format fix
* fixes
Co-authored-by: Ali <aliabid94@gmail.com>
2022-04-11 13:18:42 -07:00
pngwn
f57fa0eb6f
fix i18n and some tweaks ( #966 )
...
* fix i18n and some tweaks
* reorder i18n + translate buttons
* disable test
* fix or text
* ensure sketch text only shows when it is a sketch
2022-04-08 19:46:00 +01:00
pngwn
4b10085c93
add frontend for page load events ( #967 )
...
* Blocks load event implemented
* tweks
* add frontend for page load events
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-04-08 19:24:25 +01:00
pngwn
61c2e0e680
static mode for textbox ( #929 )
...
* static mode for textbox
* fix checkbox and remove title
* address comments
* autoresize textarea for output textbox
* wait for the DOM to update before resizing the textarea
2022-04-07 20:36:49 +01:00
pngwn
03838573c9
allow audio components to take a string value ( #930 )
...
* allow audio components to take a string value
* normalise audio + video input data types
* tweaks
2022-04-07 18:18:41 +01:00
pngwn
5313a4edf1
fix unit + browser tests ( #926 )
2022-04-06 11:47:19 +01:00
pngwn
f2d71abe88
Redesign 1 ( #918 )
...
* redesign forms
* finalise forms
* upload components
* fix CSS conflicts
* abstract block + update image
* restyle modify buttons
* add file, audio, video
* revert example
* address comments
2022-04-05 18:11:29 +01: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
dawoodkhan82
f44fd7e53c
change to image3d in directory.ts
2022-03-31 14:28:25 -04:00
dawoodkhan82
b993659134
rename in config
2022-03-31 14:03:14 -04:00
dawoodkhan82
d13d172d22
rename Model3d to Image3D
2022-03-31 13:58:36 -04:00
pngwn
b91231711a
fix endpoint url in prod ( #911 )
...
* fix endpoint url in prod
* fix browser tests
2022-03-31 16:48:54 +01:00
dawoodkhan82
3f5a7be079
Merge branch 'main' into dawood/3d-image
2022-03-30 15:43:13 -04:00
dawoodkhan82
b4c8b069ac
rename model3d dir
2022-03-30 15:42:16 -04:00
dawoodkhan82
d36075bb37
reformat code
2022-03-30 13:24:18 -04:00
pngwn
95deeb8f9b
cleanup default_value
2022-03-29 14:10:35 +01:00
pngwn
aeec89c8a9
guard render to check for children
2022-03-29 13:57:04 +01:00
Abubakar Abid
fd53b54c75
fix formatting
2022-03-29 00:06:35 -07:00
Ali Abid
a4ddcefb23
fix streaming
2022-03-29 02:15:32 +02:00
Ali Abid
645abd2f44
merge chagnes
2022-03-29 01:50:30 +02:00
dawoodkhan82
9c32c91bd8
Merge branch 'main' into dawood/3d-image
2022-03-28 14:38:41 -04:00
dawoodkhan82
c03f7b2f3a
add tests
2022-03-28 14:37:50 -04:00
Ali Abid
0b2f0e27a3
fix markdown default_value
2022-03-26 06:53:41 +01:00
aliabid94
4a787734d8
fix buttons ( #883 )
...
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-26 03:48:03 +01:00
Abubakar Abid
e6eb78c765
Merge branch 'blocks-dev' into default-values
2022-03-25 16:59:08 -07:00
Ali Abid
8bc644eb75
rename default to default_value
2022-03-26 00:22:57 +01:00
Abubakar Abid
4bde73e5d3
Merge pull request #864 from gradio-app/interface_to_blocks_features
...
More Interface -> Blocks features
2022-03-25 12:06:28 -07:00
Ali Abid
d4759cfb3c
fix format
2022-03-24 23:03:47 -07:00
Abubakar Abid
50fd650748
Merge branch 'blocks-dev' into 790-in-out
2022-03-24 21:44:10 -07:00
Ali Abid
9ca5cf04c3
Merge branch 'interface_to_blocks_features' of https://github.com/gradio-app/gradio into interface_to_blocks_features
2022-03-24 21:01:45 -07:00
Ali Abid
4e0e78923c
more changes
2022-03-24 21:00:30 -07:00
Julien Chaumond
1ffce560ac
[Spaces] Cleaner hf.space URLs
2022-03-24 20:52:19 +01:00
pngwn
3b452fffdd
set default values as the value for components
2022-03-24 13:08:13 +00:00
pngwn
017e62c95c
remove log
2022-03-24 11:12:47 +00:00
pngwn
85dbeffd5c
initialise chatbot with empty array of messages
2022-03-24 11:11:49 +00:00
pngwn
2df7c6062d
add test for output to input
2022-03-24 10:59:09 +00:00
aliabid94
3eb520b276
Merge branch 'blocks-dev' into interface_to_blocks_features
2022-03-23 16:38:50 -07:00
Ali Abid
0ef247aa7a
changes
2022-03-23 16:36:07 -07:00
dawoodkhan82
ad8018c1d6
update model3d demo
2022-03-23 18:45:04 -04:00
dawoodkhan82
ac90b5a703
Merge branch 'master' into dawood/3d-image
2022-03-23 17:26:47 -04:00
pngwn
8ed9f3be62
add tests for textbox
2022-03-23 16:56:36 +00:00
pngwn
4f772dc8d9
ensure textbox updates the value
2022-03-23 16:56:01 +00:00
pngwn
b7d2125323
improve test setup and utils
2022-03-23 16:55:47 +00:00
pngwn
8d947138fa
add test infra
2022-03-23 16:55:00 +00:00
pngwn
26d2c190fc
add test infra + add browser tests to CI ( #852 )
...
* add test infra
* improve test setup and utils
* finish a test
* add browser tests to ci
* fix ci
* fix ci
* fix ci
* fix ci
* debug ci
* debug ci
* debug ci
* debug ci
* debug ci
* debug ci
* debug ci
* fix ci
* update lockfile
* fix formatting
* install browser when not cached
* bust cache
* debug test in ci
* fix button label
* generate screenshots for failed tests
* generate screenshots for failed tests
* generate screenshots for failed tests
* fix tests
* clean uip debug logs
* add setuip + teardown to functional tests
* remove build from static checks
2022-03-23 15:19:12 +00:00
dawoodkhan82
6d8bbb319a
model3d fixes
2022-03-22 19:01:43 -04:00
aliabid94
a8ab1c81a1
Blocks dev ( #853 )
...
* Blocks-Components-v2
- default -> default_value refactoring
* Blocks-Components-v2
- refactor output types into output_type and make them auto
* Blocks-Backend-Events
- all events are implemented
* Blocks-Backend-Events
- refactor fn: str -> Callable
* Blocks-Backend-Events
- add change event to TabItem
* Blocks Backend Components
- Remove KeyValues from components
* Blocks-Backend-Components-v2
- Resolve Components imports in inputs and outputs
* Blocks-Backend-Components-v2
- fix default parameter usage in demos
* Blocks-Backend-Components-v2
- fix default parameter usage in demos
* Blocks-Backend-Components-v2
- fix default parameter usage in demos
* Blocks-Backend-Components-v2
- docstring updates
* revert demos
* Blocks-Backend-Components-v2
- tweaks
* Blocks-Backend-Components-v2
- add change event to Tabs
* Interfaces from Blocks (#849 )
Build interfaces from blocks
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-22 15:40:36 -07:00
Ali Abid
566c954c30
stop interface from erroring out
2022-03-21 14:12:00 -07:00
dawoodkhan82
16ce49289a
update model3d
2022-03-21 03:14:07 -04:00
aliabid94
1a4302ce88
description width fix ( #836 )
...
* fix
* upgrade
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-18 09:14:07 -05:00
Ali Abid
65b5b662b5
changes
2022-03-17 14:04:46 -05:00
Ali Abid
11436e4c4d
Merge branch 'textarea_line_fix' of https://github.com/gradio-app/gradio into textarea_line_fix
2022-03-17 13:44:28 -05:00
Ali Abid
7fcdc63bb0
fix
2022-03-17 13:44:19 -05:00
Abubakar Abid
39d9315163
Merge branch 'master' into textarea_line_fix
2022-03-17 11:37:23 -07:00
Ali Abid
67316682f5
restore typography
2022-03-17 13:29:29 -05:00
Abubakar Abid
427d70f6e8
Merge pull request #831 from gradio-app/textarea_line_fix
...
fix line count
2022-03-17 10:50:53 -07:00
Abubakar Abid
087de3f067
Merge pull request #827 from gradio-app/examples_bug_fixes
...
Fixes to examples; use builtin csv sanitization
2022-03-17 10:46:07 -07:00
Ali Abid
aaf4d24522
fix line count
2022-03-17 12:32:35 -05:00
aliabid94
da7a8f06ca
Full height gradio app ( #828 )
...
* fix
* changes
* changes
* changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-17 11:54:01 -05:00
Abubakar Abid
f1e65cba12
formatting
2022-03-17 09:32:19 -07:00
Ali Abid
abb85c0f9b
changes
2022-03-16 19:26:39 -05:00
pngwn
343205c94a
fix static/ dynamic components
2022-03-16 16:36:36 +00:00
pngwn
6e16a8d792
update component events
2022-03-16 16:34:30 +00:00
Ali Abid
fd0928dc0a
update backend to new output config format
2022-03-11 16:40:23 -08:00
pngwn
bc38734e76
tweaks
2022-03-11 16:15:48 +00:00
pngwn
163806c4f6
Merge branch 'Blocks-Components' into gradio-dash-fe
2022-03-11 16:07:28 +00:00
pngwn
50cb72b4ea
more stuff
2022-03-11 16:00:48 +00:00
aliabid94
0695561925
fix audio output cache ( #804 )
...
* fix audio output cache
* changes
* version update
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Former-commit-id: fab4a311b0
2022-03-10 10:28:02 -08:00
Ali Abid
55c69891e6
changes
2022-03-09 22:46:52 +00:00
Ali Abid
aa9af98d11
Merge remote-tracking branch 'origin' into streaming_audio
2022-03-09 11:20:14 -08:00
pngwn
ec80912433
convert all components to new form
2022-03-08 13:35:42 +00:00
aliabid94
185e184f4d
More fixes ( #788 )
...
* frontend fixes
* format fix
* first commit
* more fixes
* fixes
* updated PyPi version to 2.8.8
* changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-07 22:18:04 -08:00
aliabid94
a49ea9ab5c
Fixing webcam flip ( #774 )
...
* frontend fixes
* format fix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-07 20:03:46 -08:00
pngwn
ddbd121a03
more
2022-03-07 13:36:49 +00:00
dawoodkhan82
77fd307b48
3d image input
2022-03-04 00:50:18 -05:00
dawoodkhan82
d137654e46
add model3d output
2022-03-03 21:23:34 -05:00
Ali Abid
95578e9926
add session hash to frontend
2022-03-03 16:23:18 -06:00