cfahlgren1 HF staff commited on
Commit
5c5d415
1 Parent(s): e854e13

Update SQL Console IFrame

Browse files

Hey, I love the use of the SQL Console, this should make it a little prettier with new embed, that way it only shows results and not sql :)

Let me know how things can be better :)

![image.png](https://cdn-uploads.huggingface.co/production/uploads/648a374f00f7a3374ee64b99/6PseKNXH4buv6npc8pG3P.png)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -600,7 +600,7 @@ for model in HF_SPACES.values():
600
  TTS_DATASET_IFRAME_ORDER = '%2C+'.join(model_series)
601
  TTS_DATASET_IFRAME = f"""
602
  <iframe
603
- src="https://huggingface.co/datasets/Pendrokar/open_tts_tracker/embed/viewer/default/train?sql_console=true&sql=--+The+SQL+console+is+powered+by+DuckDB+WASM+and+runs+entirely+in+the+browser.%0A--+Get+started+by+typing+a+query+or+selecting+a+view+from+the+options+below.%0ASELECT+*%2C+%22Name%22+IN+%28{TTS_DATASET_IFRAME_ORDER}%29+AS+%22In+arena%22+FROM+train+WHERE+%22Insta-clone+%F0%9F%91%A5%22+IS+NOT+NULL+ORDER+BY+%22In+arena%22+DESC+LIMIT+50%3B&views%5B%5D=train"
604
  frameborder="0"
605
  width="100%"
606
  height="650px"
 
600
  TTS_DATASET_IFRAME_ORDER = '%2C+'.join(model_series)
601
  TTS_DATASET_IFRAME = f"""
602
  <iframe
603
+ src="https://huggingface.co/datasets/Pendrokar/open_tts_tracker/embed/sql-console/default/train?sql_console=true&sql=--+The+SQL+console+is+powered+by+DuckDB+WASM+and+runs+entirely+in+the+browser.%0A--+Get+started+by+typing+a+query+or+selecting+a+view+from+the+options+below.%0ASELECT+*%2C+%22Name%22+IN+%28{TTS_DATASET_IFRAME_ORDER}%29+AS+%22In+arena%22+FROM+train+WHERE+%22Insta-clone+%F0%9F%91%A5%22+IS+NOT+NULL+ORDER+BY+%22In+arena%22+DESC+LIMIT+50%3B&views%5B%5D=train"
604
  frameborder="0"
605
  width="100%"
606
  height="650px"