gradio/demo
aliabid94 092b7448e6
consecutive triggers with .then (#3430)
* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update guides/03_building-with-blocks/01_blocks-and-event-listeners.md

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

* Update gradio/blocks.py

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

* Update demo/chatbot_simple_demo/run.py

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

* Update demo/chatbot_simple_demo/run.py

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

* allow nest

* changes

* changes

* changes

* changes

* changes

* events

* formatting

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-11 20:38:22 -08:00
..
all_demos JS client take 2 (#3388) 2023-03-07 16:36:25 +00:00
altair_plot Add support for altair plots (#2741) 2022-12-02 14:53:42 -03:00
animeganv2 Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
audio_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
audio_debugger Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
autocomplete Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
automatic-speech-recognition Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_component_shortcut Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_essay Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_essay_update Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_flag Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_flashcards Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_flipper 3248 image (#3277) 2023-02-23 08:46:44 +00:00
blocks_form Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_gpt Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_hello Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_inputs Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_interpretation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_joined Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_js_methods Fix error when using backen_fn and custom js at the same time (#3358) 2023-03-03 14:37:05 -05:00
blocks_kinematics Use gr.lineplot for kinematics demo (#2998) 2023-01-18 05:21:34 -05:00
blocks_kitchen_sink Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
blocks_layout Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_mask ensure image is always drawn (#3386) 2023-03-06 16:04:42 +00:00
blocks_multiple_event_triggers LinePlot (#2807) 2022-12-20 11:13:51 -05:00
blocks_neural_instrument_coding Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_outputs Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_page_load Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_plug the original demo would fail after switching to the 3rd tab once, by … (#2971) 2023-01-13 13:41:53 -05:00
blocks_random_slider Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_scroll Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_simple_squares Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_speech_text_sentiment Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_static Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_style Fix blocks_style demo (#2890) 2022-12-27 11:51:08 -05:00
blocks_textbox_max_lines Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_update Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_webcam Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
blocks_xray Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
bokeh_plot Fix bokeh Plots (#3212) 2023-02-17 16:47:06 -05:00
button_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
calculator 3229 styling (#3233) 2023-02-19 15:16:08 +00:00
calculator_blocks Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
calculator_blocks_cached Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
calculator_list_and_dict Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
calculator_live Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
cancel_events Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
chatbot_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
chatbot_demo Add ability add a single message from the bot/user side (#3165) 2023-02-17 13:02:41 -05:00
chatbot_multimodal consecutive triggers with .then (#3430) 2023-03-11 20:38:22 -08:00
chatbot_simple_demo consecutive triggers with .then (#3430) 2023-03-11 20:38:22 -08:00
checkbox_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
checkboxgroup_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
chicago-bikeshare-dashboard Bar Plot Component (#3157) 2023-02-09 16:42:25 -05:00
clustering Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
code add code component (#3421) 2023-03-10 17:52:17 +00:00
color_generator Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
color_picker Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
colorpicker_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
concurrency_with_queue Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
concurrency_without_queue Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
count_generator Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
custom_path Start queue when gradio is a sub application (#2319) 2022-09-23 16:01:44 -04:00
dashboard Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
dataframe_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
dataframe_datatype Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
dataset Theme base 2 (#2840) 2023-01-17 12:47:40 -08:00
dataset_component Adding missing embedded components on docs (#3027) 2023-01-24 13:15:06 -08:00
depth_estimation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
diff_texts Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
diffusers_with_batching Added diffusers demo with batching & some misc improvements to doc (#3224) 2023-02-17 18:53:21 -06:00
digit_classifier Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
dropdown_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
Echocardiogram-Segmentation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
english_translator Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
event_trigger Final? (#3098) 2023-02-02 12:16:38 +00:00
examples_component Allow more image formats (#3225) 2023-02-21 11:50:44 +00:00
fake_diffusion Change image url for fake diffusion demos (#3120) 2023-02-03 11:21:41 -05:00
fake_diffusion_with_gif Turn Submit Button into Cancel Button for Interfaces with generators (#3124) 2023-02-06 14:30:21 -05:00
fake_gan Fix demos page css and add close demos button (#3151) 2023-02-08 18:54:48 -08:00
fake_gan_2 Theme base 2 (#2840) 2023-01-17 12:47:40 -08:00
fake_gan_no_input Guide on 4 kinds of interfaces (#3003) 2023-02-02 07:58:29 -08:00
file_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
filter_records Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
fraud_detector Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
gallery_component Fix gallery grid (#3107) 2023-02-02 03:47:03 -08:00
gender_sentence_custom_interpretation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
gender_sentence_default_interpretation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
generate_english_german Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
generate_tone Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
gif_maker Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
gpt_j Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
gpt_j_unified Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
hangman Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
hello_blocks Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
hello_login Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
hello_world Switch from SSH tunneling to FRP (#2509) 2022-12-14 08:10:45 -06:00
hello_world_2 Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
hello_world_3 Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
highlightedtext_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
html_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
image_classification Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
image_classifier Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
image_classifier_2 Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
image_classifier_interface_load Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
image_classifier_interpretation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
image_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
image_mod Frontend fixes (#3026) 2023-01-20 13:24:24 -08:00
image_mod_default_image Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
image_segmentation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
input_output Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
interface_parallel Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
interface_parallel_load Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
interface_random_slider Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
interface_series Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
interface_series_load Updated series demo (#3051) 2023-01-25 14:21:37 +05:00
interpretation_component Adding missing embedded components on docs (#3027) 2023-01-24 13:15:06 -08:00
json_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
kitchen_sink Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
kitchen_sink_random Improvements to State (#2100) 2022-08-29 09:53:05 -07:00
label_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
latex Latex support (#2696) 2022-11-29 11:26:17 -08:00
leaderboard Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
lineplot_component Better docs navigation on mobile (#3112) 2023-02-07 12:42:57 -08:00
live_dashboard Adding a LinePlot component demo to the docs (#2868) 2022-12-20 20:27:21 -05:00
live_with_vars Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
longest_word Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
main_note Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
map_airbnb Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
markdown_component Fix markdown embedded component in docs (#3410) 2023-03-07 14:15:03 -08:00
markdown_example Fix markdown embedded component in docs (#3410) 2023-03-07 14:15:03 -08:00
matrix_transpose Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
model3D Add download button to model3d output (#3014) 2023-01-23 10:14:29 -05:00
model3d_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
musical_instrument_identification Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
native_plots Bar Plot Component (#3157) 2023-02-09 16:42:25 -05:00
neon-tts-plugin-coqui Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
ner_pipeline Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
no_input Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
number_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
outbreak_forecast Add support for altair plots (#2741) 2022-12-02 14:53:42 -03:00
pictionary Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
plot_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
progress Add Progress Bar component (#2750) 2022-12-30 11:45:54 -08:00
progress_component Adding missing embedded components on docs (#3027) 2023-01-24 13:15:06 -08:00
progress_simple Add Progress Bar component (#2750) 2022-12-30 11:45:54 -08:00
question-answering Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
radio_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
reset_components Fix bugs with gr.update (#2157) 2022-09-06 17:08:38 -04:00
reverse_audio Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
reversible_flow Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
rows_and_columns Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
sales_projections Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
same-person-or-different Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
save_file_no_output Guide on 4 kinds of interfaces (#3003) 2023-02-02 07:58:29 -08:00
scatterplot_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
score_tracker Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
sentence_builder Add info= parameter to form type inputs to provide more context for users (#3291) 2023-02-22 15:16:15 -08:00
sentiment_analysis Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
sepia_filter Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
sine_curve Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
slider_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
slider_release Add event that's triggered when slider is released (#3353) 2023-03-02 21:29:49 -05:00
sound_alert Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
spectogram Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
stable-diffusion Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
state_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
stock_forecast Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
stream_audio Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
stream_frames JS client take 2 (#3388) 2023-03-07 16:36:25 +00:00
streaming_stt Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
streaming_wav2vec Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
stt_or_tts Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
tax_calculator Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
text_analysis Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
text_generation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
textbox_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
timeseries_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
timeseries-forecasting-with-prophet Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
titanic_survival Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
translation Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
unified_demo_text_generation Guide on 4 kinds of interfaces (#3003) 2023-02-02 07:58:29 -08:00
unispeech-speaker-verification Python backend to theming (#2931) 2023-03-06 12:52:31 -08:00
upload_button Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
uploadbutton_component Adding missing embedded components on docs (#3027) 2023-01-24 13:15:06 -08:00
variable_outputs Adds a demo / information about how to create demos with variable #s of outputs (#3127) 2023-02-06 11:38:54 -08:00
video_component ensure video resets state correctly when a new src is loaded (#3117) 2023-02-03 17:36:31 +00:00
video_identity Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
waveform Audio waveform (#2706) 2022-12-15 12:35:22 -06:00
webcam Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
white_noise_vid_not_playable Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
xgboost-income-prediction-with-explainability Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
zip_files Support large files try 2 (#3191) 2023-02-17 15:31:02 -08:00
zip_to_json Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
__init__.py Deploy All Demos to Spaces on PRs (#2012) 2022-08-16 12:07:20 -04:00
generate_notebooks.py Excluding untracked files from demo notebook check action (#2897) 2022-12-28 16:40:03 +04:00
model3D_demo.zip
random_demos.py
write_config.py