kausthubkannan17 commited on
Commit
0c33fc6
1 Parent(s): 259b1d5

fix: redirect to drakechat

Browse files
Files changed (1) hide show
  1. pages/upload_url.py +3 -3
pages/upload_url.py CHANGED
@@ -47,13 +47,13 @@ if video_url:
47
  notes = drake.create_notes(documents)
48
  encoded_text = notes.encode('utf-8')
49
  st.success("Notes generated successfully")
50
- if st.download_button(
51
  label="Download your notes",
52
  data=encoded_text,
53
  file_name='your_notes.md',
54
  mime='text/markdown',
55
- ):
56
- st.switch_page("pages/chat.py")
57
  except Exception as e:
58
  print(e)
59
  st.error("Error in generating notes")
 
47
  notes = drake.create_notes(documents)
48
  encoded_text = notes.encode('utf-8')
49
  st.success("Notes generated successfully")
50
+ st.download_button(
51
  label="Download your notes",
52
  data=encoded_text,
53
  file_name='your_notes.md',
54
  mime='text/markdown',
55
+ )
56
+ st.page_link("pages/chat.py", label="Chat with Drake")
57
  except Exception as e:
58
  print(e)
59
  st.error("Error in generating notes")