dwarkesh commited on
Commit
bf385fc
·
verified ·
1 Parent(s): d523de2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -222,12 +222,12 @@ def create_interface():
222
 
223
  output = gr.Markdown() # Single markdown output
224
 
225
- async def process_wrapper(text):
226
  print("Process wrapper started")
227
  print(f"Input text: {text[:100]}...")
228
 
229
  try:
230
- result = await processor.process_transcript(text)
231
  print("Process completed, got results")
232
  return result
233
  except Exception as e:
 
222
 
223
  output = gr.Markdown() # Single markdown output
224
 
225
+ async def process_wrapper(text, api_key):
226
  print("Process wrapper started")
227
  print(f"Input text: {text[:100]}...")
228
 
229
  try:
230
+ result = await processor.process_transcript(text, api_key)
231
  print("Process completed, got results")
232
  return result
233
  except Exception as e: