sotirios-slv commited on
Commit
1596c0d
·
1 Parent(s): cfe5d15

Removed button, added score placeholder

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -86,6 +86,8 @@ highlighted_results = gr.HighlightedText(
86
  color_map={"+": "red", "-": "green"},
87
  )
88
 
 
 
89
 
90
  input_audio = gr.Audio(
91
  sources=["microphone"],
@@ -101,7 +103,7 @@ input_audio = gr.Audio(
101
  demo = gr.Interface(
102
  fn=transcribe_audio,
103
  inputs=[diction_script, input_audio],
104
- outputs=highlighted_results,
105
  title="Speaking in Code",
106
  description=description,
107
  theme="abidlabs/Lime",
 
86
  color_map={"+": "red", "-": "green"},
87
  )
88
 
89
+ score = gr.Textbox("100%")
90
+
91
 
92
  input_audio = gr.Audio(
93
  sources=["microphone"],
 
103
  demo = gr.Interface(
104
  fn=transcribe_audio,
105
  inputs=[diction_script, input_audio],
106
+ outputs=[highlighted_results, score],
107
  title="Speaking in Code",
108
  description=description,
109
  theme="abidlabs/Lime",