Update app.py
Browse files
app.py
CHANGED
|
@@ -106,12 +106,12 @@ def interface(query, num_spotify_playlists=50, project_name="Proyecto"):
|
|
| 106 |
iface = gr.Interface(
|
| 107 |
fn=interface,
|
| 108 |
inputs=[
|
| 109 |
-
gr.Textbox(label="
|
| 110 |
-
gr.Number(label="
|
| 111 |
-
gr.Textbox(label="
|
| 112 |
],
|
| 113 |
-
outputs=[gr.Dataframe(), gr.File(label="
|
| 114 |
-
title="
|
| 115 |
description="Enter a search query to fetch playlists and their songs from Spotify. Client credentials are pre-configured."
|
| 116 |
)
|
| 117 |
iface.launch()
|
|
|
|
| 106 |
iface = gr.Interface(
|
| 107 |
fn=interface,
|
| 108 |
inputs=[
|
| 109 |
+
gr.Textbox(label="Keywords de playlists para buscar"),
|
| 110 |
+
gr.Number(label="Número de playlists que queremos buscar", value=50, minimum=1, maximum=1000),
|
| 111 |
+
gr.Textbox(label="Nombre del proyecto")
|
| 112 |
],
|
| 113 |
+
outputs=[gr.Dataframe(), gr.File(label="Descargar Excel")],
|
| 114 |
+
title="Busca Playlists con Keywords,
|
| 115 |
description="Enter a search query to fetch playlists and their songs from Spotify. Client credentials are pre-configured."
|
| 116 |
)
|
| 117 |
iface.launch()
|