jerpint commited on
Commit
872b7a2
·
verified ·
1 Parent(s): 730125d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -18,6 +18,7 @@ def audio_markdown(x, model: str):
18
 
19
 
20
  df = pd.read_csv(csv_link)
 
21
 
22
  for model in models:
23
  df[model] = df.apply(lambda x: audio_markdown(x, model), axis=1)
@@ -27,6 +28,7 @@ with gr.Blocks() as demo:
27
  gr.Dataframe(
28
  value=df[
29
  [
 
30
  *models,
31
  "path",
32
  "sentence",
 
18
 
19
 
20
  df = pd.read_csv(csv_link)
21
+ df["id"] = list(df.index) # Temporary id to visualize the index on the UI
22
 
23
  for model in models:
24
  df[model] = df.apply(lambda x: audio_markdown(x, model), axis=1)
 
28
  gr.Dataframe(
29
  value=df[
30
  [
31
+ "id",
32
  *models,
33
  "path",
34
  "sentence",