jharrison27 commited on
Commit
8954b8d
·
1 Parent(s): 8ec473b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -56,11 +56,8 @@ def transcribe(audio, state = ""):
56
  transcriptions = transcriptions[0]
57
  transcriptions = transcriptions[0]
58
 
59
- if PersistToDataset:
60
- ret = store_message(transcriptions, state) # Save to dataset - uncomment to store into a dataset - hint you will need your HF_TOKEN
61
- state = state + transcriptions + " " + ret
62
- else:
63
- state = state + transcriptions
64
  return state, state
65
 
66
  gr.interface(
 
56
  transcriptions = transcriptions[0]
57
  transcriptions = transcriptions[0]
58
 
59
+
60
+ state = state + transcriptions
 
 
 
61
  return state, state
62
 
63
  gr.interface(