ahmedJaafari commited on
Commit
43eb69b
1 Parent(s): 72615a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def classify_audio(audio):
28
  else:
29
  service_html = "<h1 style='color:red; font-weight:bold; text-align:center;'>Error: No matching service found</h1>"
30
 
31
- return service_html#, transcript
32
 
33
  iface = gr.Interface(
34
  fn=classify_audio,
@@ -37,7 +37,7 @@ iface = gr.Interface(
37
  ],
38
  outputs=[
39
  gr.HTML(label="Service"), # Colored HTML output for service
40
- #gr.Textbox(label="Transcript") # Transcript of the audio
41
  ],
42
  title="Vochai - IVR Routing System",
43
  description=(
 
28
  else:
29
  service_html = "<h1 style='color:red; font-weight:bold; text-align:center;'>Error: No matching service found</h1>"
30
 
31
+ return service_html, transcript
32
 
33
  iface = gr.Interface(
34
  fn=classify_audio,
 
37
  ],
38
  outputs=[
39
  gr.HTML(label="Service"), # Colored HTML output for service
40
+ gr.Textbox(label="Transcript") # Transcript of the audio
41
  ],
42
  title="Vochai - IVR Routing System",
43
  description=(