Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import numpy as np
|
| 3 |
-
import pandas as pd
|
| 4 |
import faiss
|
| 5 |
import requests
|
| 6 |
import pdfplumber
|
|
@@ -18,8 +17,10 @@ client = Groq(api_key=API_KEY)
|
|
| 18 |
|
| 19 |
# Predefined Google Drive links
|
| 20 |
STORED_LINKS = [
|
| 21 |
-
"https://drive.google.com/file/d/1zHtEpoEZv_3BhEDhQKkf1D1vya2jzyAd/view?usp=sharing",
|
|
|
|
| 22 |
]
|
|
|
|
| 23 |
# Helper function to extract file ID from Google Drive URL
|
| 24 |
def extract_drive_file_id(url):
|
| 25 |
parsed_url = urlparse(url)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import numpy as np
|
|
|
|
| 3 |
import faiss
|
| 4 |
import requests
|
| 5 |
import pdfplumber
|
|
|
|
| 17 |
|
| 18 |
# Predefined Google Drive links
|
| 19 |
STORED_LINKS = [
|
| 20 |
+
"https://drive.google.com/file/d/1zHtEpoEZv_3BhEDhQKkf1D1vya2jzyAd/view?usp=sharing",
|
| 21 |
+
"https://drive.google.com/file/d/1xnRgDFGGV723Bgddf8KE9quwzpllgxyD/view?usp=sharing"
|
| 22 |
]
|
| 23 |
+
|
| 24 |
# Helper function to extract file ID from Google Drive URL
|
| 25 |
def extract_drive_file_id(url):
|
| 26 |
parsed_url = urlparse(url)
|