son9john commited on
Commit
cbbe1e4
·
1 Parent(s): d6ee0f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,7 +105,7 @@ def transcribe(audio, text):
105
  if counter > 0:
106
  # Upload the chat transcript to Notion
107
  df = pd.DataFrame([chat_transcript])
108
- notion_df.upload(df, 'https://www.notion.so/US-62e861a0b35f43da8ef9a7789512b8c2?pvs=4', title=str(published_date), api_key=API_KEY)
109
 
110
  counter += 1
111
  messages = [{"role": "system", "content": initial_message}]
@@ -135,7 +135,7 @@ def transcribe(audio, text):
135
  now_et = datetime.now(timezone(timedelta(hours=-4)))
136
  # Format the time as string (YY-MM-DD HH:MM)
137
  published_date = now_et.strftime('%m-%d-%y %H:%M')
138
- notion_df.upload(df, 'https://www.notion.so/US-62e861a0b35f43da8ef9a7789512b8c2?pvs=4', title=str(published_date), api_key=API_KEY)
139
 
140
  # Return the chat transcript
141
  return chat_transcript
 
105
  if counter > 0:
106
  # Upload the chat transcript to Notion
107
  df = pd.DataFrame([chat_transcript])
108
+ notion_df.upload(df, 'https://www.notion.so/US-Mine-922ea77abf8b4493bd63909b43bfbb2f?pvs=4', title=str(published_date), api_key=API_KEY)
109
 
110
  counter += 1
111
  messages = [{"role": "system", "content": initial_message}]
 
135
  now_et = datetime.now(timezone(timedelta(hours=-4)))
136
  # Format the time as string (YY-MM-DD HH:MM)
137
  published_date = now_et.strftime('%m-%d-%y %H:%M')
138
+ notion_df.upload(df, 'https://www.notion.so/US-Mine-922ea77abf8b4493bd63909b43bfbb2f?pvs=4', title=str(published_date), api_key=API_KEY)
139
 
140
  # Return the chat transcript
141
  return chat_transcript