gradio/demo
binary-husky 2a30deed84
fix copy button invalid & copy button (invisible) duplication bug in chatbot (#4350)
* fix a copy button duplication bug in chatbot

* fix copy button invalid issue

* Update CHANGELOG.md: Fixed Copy Button

* fix changelog typo

* switch to static HTML + event delegation for copy button

* fix

* format + notebooks

* format + notebooks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-01 22:51:36 +09: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 Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07:00
automatic-speech-recognition Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07:00
barplot_component Add missing demos for Code and Barplot (#3550) 2023-03-20 19:16:18 -04: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 Adds copy button to textbox via .style() (#3452) 2023-03-15 16:45:45 -07: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07: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 Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05: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 UI fixes for themes (#3590) 2023-04-28 14:31:41 -04: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 elem classes (#3466) 2023-03-15 14:01:53 -07: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 Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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
change_vs_input Input listener (#4157) 2023-05-15 21:36:57 -04:00
chatbot_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
chatbot_dialogpt Fixes chatbot_dialogpt demo (#4238) 2023-05-16 21:43:15 -04:00
chatbot_multimodal Make chatbot input fields non-interactive while bot is streaming (#4363) 2023-05-31 12:58:22 -07:00
chatbot_simple fix copy button invalid & copy button (invisible) duplication bug in chatbot (#4350) 2023-06-01 22:51:36 +09:00
chatbot_streaming Make chatbot input fields non-interactive while bot is streaming (#4363) 2023-05-31 12:58:22 -07: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 Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05:00
clustering [Docs] Resolve numerous typos (#4170) 2023-05-11 15:20:41 -05:00
code [Docs] Resolve numerous typos (#4170) 2023-05-11 15:20:41 -05:00
code_component Add missing demos for Code and Barplot (#3550) 2023-03-20 19:16:18 -04: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 [Docs] Resolve numerous typos (#4170) 2023-05-11 15:20:41 -05:00
dataframe_block-ui-test UI stuck caused by the 'selected' of DataFrame not being reset (#3916) 2023-04-20 10:27:52 -04: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 Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
diff_texts HighlightedImage component (#3836) 2023-04-14 13:11:27 -07: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 make use of gr. consistent (#3901) 2023-04-19 15:55:37 -04:00
dropdown_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
Echocardiogram-Segmentation Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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 fix cancels (#4225) 2023-05-16 22:37:28 +01:00
fake_gan Add styles to gallery component (#3586) 2023-04-06 09:38:25 -07:00
fake_gan_2 Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
fake_gan_no_input Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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
gallery_selections Adding the .select event listener (#3399) 2023-03-13 17:12:41 -07: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07:00
gpt_j_unified Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07:00
hangman Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
hello_blocks Update view api page to use Python client (#3765) 2023-04-13 16:20:33 -07: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07: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 DESCRIPTION.md to image_segmentation demo (#3866) 2023-04-14 21:35:25 -07:00
image_selections Get Image click coordinates from .select (#3786) 2023-04-10 14:47:33 -07: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07: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 Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05: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 Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
map_airbnb Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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 Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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 Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05:00
pictionary A few small fixes to docs / demos (#3611) 2023-03-24 16:28:38 -07:00
plot_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
progress Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
progress_component Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
progress_simple Add Progress Bar component (#2750) 2022-12-30 11:45:54 -08:00
question-answering Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07:00
radio_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
request_ip_headers implement missing methods handle nested dict (#3459) 2023-03-14 15:15:12 -07: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 Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05: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 [Docs] Resolve numerous typos (#4170) 2023-05-11 15:20:41 -05: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 [Docs] Resolve numerous typos (#4170) 2023-05-11 15:20:41 -05:00
spectogram Add open in colab buttons to demos in docs and /demos (#2608) 2022-11-22 16:56:46 -08:00
stable-diffusion Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07:00
state_component Remove footers and min-height the correct way (#2860) 2022-12-21 19:01:42 +04:00
stock_forecast Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05: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 Sets up the Python gradio client (#3300) 2023-03-23 15:33:44 -07: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
theme_builder Theme builder (#3664) 2023-03-30 11:20:34 -07:00
theme_extended_step_1 Theme+release (#3494) 2023-03-17 07:41:53 -07:00
theme_extended_step_2 Theme+release (#3494) 2023-03-17 07:41:53 -07:00
theme_extended_step_3 Theme+release (#3494) 2023-03-17 07:41:53 -07:00
theme_extended_step_4 Theme+release (#3494) 2023-03-17 07:41:53 -07:00
theme_new_step_1 Theme+release (#3494) 2023-03-17 07:41:53 -07:00
theme_new_step_2 Theme+release (#3494) 2023-03-17 07:41:53 -07:00
theme_new_step_3 Iframes guides and fixes theme_new_step_3\run.py (#3506) 2023-03-18 15:19:43 -07:00
theme_soft Use soft theme instead of glass theme in demo (#3503) 2023-03-18 13:07:23 -07:00
tictactoe Adding the .select event listener (#3399) 2023-03-13 17:12:41 -07: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 Fix broken spaces in docs (#3698) 2023-03-29 16:03:22 -07: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
video_subtitle Adding subtitles to gr.Video (#3673) 2023-04-11 16:06:48 -07:00
waveform Audio waveform (#2706) 2022-12-15 12:35:22 -06:00
webcam Switch linting to Ruff (#3710) 2023-04-03 15:48:18 -07: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 Sets matplotlib backend to agg before rendering math (#4029) 2023-05-01 23:59:31 -05: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 A few small fixes to docs / demos (#3611) 2023-03-24 16:28:38 -07:00
model3D_demo.zip File Cached Examples Fix (#1334) 2022-06-01 12:23:12 -04:00
random_demos.py Running, testing, and fixing demos (#1060) 2022-04-21 18:33:23 -07:00
write_config.py Small fixes to the demos (#1030) 2022-04-20 14:57:45 -07:00