Abubakar Abid
d1468b560e
fixes to component docs ( #1319 )
...
* fixes to component docs
* remove extra comma
* docstrings'
* update to 7k
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-05-18 15:08:57 -07:00
Ali Abdalla
5b827f5b2c
Fixes to embedded demos in website docs ( #1315 )
...
* remove webcam from video demo
* remove blocks_gpt and blocks_neural_instrument_coding demos
* only show Try Examples if examples exist
* remove if name = main from rendereed code
* rename demos that have same name as component
* remove references to old demo names from guides
* add model3d demo
2022-05-17 14:18:51 -04:00
Ali Abdalla
1b0c16a2c9
removed webcam demo ( #1312 )
2022-05-17 11:02:14 -04:00
Abubakar Abid
fafab37087
fixed guides ( #1310 )
2022-05-17 10:56:43 -04:00
Abubakar Abid
189ec173b6
updated PyPi version to 3.0.2 ( #1311 )
2022-05-17 07:40:19 -07:00
Abubakar Abid
52dcf3938a
updated messaging ( #1309 )
...
* updated messaging
* updates readme
2022-05-17 07:12:54 -07:00
pngwn
e535cd8a35
tweak bg colour ( #1307 )
2022-05-17 14:58:25 +01:00
pngwn
21e42d54b5
Remove image editor ( #1308 )
...
* remove tui image editor
* remove dep
2022-05-17 14:58:12 +01:00
aliabid94
e828a68c98
Website fixes ( #1302 )
...
* changes
* changes
2022-05-17 06:26:14 -07:00
AK391
df4d9f472f
New big gifs ( #1305 )
...
* hello world gif update
* cropped hello world gif
* hello world 2 new gif
* update hello world 3 new gif
* fix hello world 2 gif
* update sephia filter gif
* update sales projection gif
* update calculator new gif
* update live calculator gif
* fix hello world gif
* update hello world 2 gif
* update gif for blocks_flipper
2022-05-17 00:33:55 -07:00
pngwn
8186699896
Update navbar.html ( #1301 )
2022-05-16 19:23:59 -04:00
aliabid94
13afd4c967
Fix default cleared value ( #1300 )
...
* changes
* changes
* chagnes
* fixed test
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-16 14:43:37 -07:00
Abubakar Abid
ed8301d658
gifs in readme ( #1298 )
...
* hello world
* gif
* sepia
* replace calc gifs
* crop calculator gif
* final gifs
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: AK391 <81195143+AK391@users.noreply.github.com>
2022-05-16 14:33:14 -07:00
Ali Abdalla
f8aa122074
Light mode for demos ( #1299 )
...
* demo alignment on landing page
* new meta img
* scrolling bars to demos on landing
* mobile responsive guides
* light mode for landing page demos
2022-05-16 17:09:59 -04:00
pngwn
647b4f5ffa
img ( #1297 )
2022-05-16 21:53:22 +01:00
Abubakar Abid
4c7d0ac6d6
gif ( #1296 )
2022-05-16 13:41:06 -07:00
Abubakar Abid
56f1843931
Update readme ( #1292 )
...
* update readme
* update readme
* update readme
2022-05-16 13:31:56 -07:00
Ali Abdalla
d0a54dba4b
Mobile responsive guides ( #1293 )
...
* demo alignment on landing page
* new meta img
* scrolling bars to demos on landing
* mobile responsive guides
2022-05-16 16:28:48 -04:00
aliabid94
b2ebf41224
Fix site ( #1291 )
...
* changes
* changes
* fix
2022-05-16 13:14:11 -07:00
Abubakar Abid
2b39288e9e
updated PyPi version to 3.0 ( #1290 )
2022-05-16 13:08:42 -07:00
Ali Abdalla
1e0221fae6
New meta img ( #1289 )
...
* demo alignment on landing page
* new meta img
2022-05-16 16:08:12 -04:00
Ali Abdalla
d5b05ad9a3
demo alignment on landing page ( #1288 )
2022-05-16 15:56:55 -04:00
aliabid94
10f2e71df0
changes ( #1287 )
...
* changes
* changes
2022-05-16 12:55:27 -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
Ali Abdalla
be1ea8b9e0
Website fixes ( #1286 )
...
* add meta images
* spacing on guides
* code width
* width on docs
* add config for model3d and plot
2022-05-16 14:50:52 -04:00
pngwn
a62879b8fe
Dm ( #1284 )
...
* fix
* more tweaks
* fix import
2022-05-16 19:34:08 +01:00
Abubakar Abid
7043820b77
release 3.0b9 ( #1283 )
...
* release
* updated PyPi version to 3.0b9
2022-05-16 11:25:35 -07: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
Abubakar Abid
ee52811997
Label hotfixes ( #1281 )
...
* label default
* label test fix
* formatting
2022-05-16 09:44:32 -07: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
Abubakar Abid
ecda9d1c53
Improves "Getting Started" guide ( #1269 )
...
* making quickstart better
* fixed quickstart
* quickstart
* advanced features
* advanced features
* simplified blocks demo
* added sidebars to guides
* added a little bit of padding
* shortened
2022-05-16 08:35:17 -07: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
aliabid94
569a16998d
fix slider ( #1268 )
2022-05-15 23:55:35 -07:00
Victor Muštar
40712a2686
update logo ( #1266 )
...
* 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
* update logo
* merge
* reverted py changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-15 20:05:10 -07: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
4b6050ad40
layout docs ( #1263 )
...
* layout docs
* formatting
2022-05-15 09:52:18 -07:00
Abubakar Abid
e1014f3a11
Fixes to components ( #1260 )
...
* added style components
* markdown fix
* components carousel fix
* formatting
* fixes
* catch variable
* formatting
2022-05-15 00:52:30 -07:00
Dawood Khan
e26609e1a3
Issue #1160 : Model 3D component not destroyed correctly ( #1219 )
...
* model3d fix
* formatting
* model3d fix
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-15 00:51:43 -07:00
Radamés Ajna
73e98ddf15
Small fixes for multiple demos compatible with 3.0 ( #1257 )
...
* add required param but None
* import torch req, add chunk_length_s
import torch requirement for transformers
enable inference for longer audio files
* fix compononte initialization
* input number is float, force int to multipy string
* no need for Templates, fix class init
* expects array
* add requirements.txt for demo
* update with cleaner syntax
* add sample csv to fraud demo
* adapt to new syntax
* temp fix for Slider arguments
* add dep to requirements
* remove gr.Markdown from Interface init
* fix default value param name
* upgrade deepspeech, download models onstart
* use path resolution consistent with other demos
* remove redundant demo
* add example to interface
* fixed plotting issues
* plots
* deprecated carousel
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-13 22:45:44 -07: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
Freddy Boulton
8d5e05cdbe
Add precision to Number, backend only ( #1125 )
...
* integer type
* Add integer parameter for Number
* Pass down integer prop to Number instead:
* Format + update test
* Update interpretation neighbors code + docstrings
* Rename prop to type as opposed to integer
* Update error message + test
* Update docstring
* Implement precision
* Add test + format
* Add test for precision=2
* Change round logic for precision=0
* integer type
* Add integer parameter for Number
* Pass down integer prop to Number instead:
* Format + update test
* Rename prop to type as opposed to integer
* Implement precision
* Add test + format
* Address docstrings
* Fix test + rebase
2022-05-13 19:04:11 -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
Victor Muštar
523c3692c4
spacing ( #1254 )
2022-05-13 18:19:36 +01:00
Ömer Faruk Özdemir
5df69c15bc
Button default name ( #1243 )
...
* 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
* button-default-name
- add a default name in Button
* button-default-name
- add a default name in Button
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-13 20:18:24 +03:00
Ömer Faruk Özdemir
b8c4d3d6b8
Update run.py ( #1253 )
2022-05-13 19:10:45 +03: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