Spaces:
Running
Running
ivyblossom
commited on
Commit
·
866d450
1
Parent(s):
a9fde12
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import streamlit as st
|
|
4 |
from sentence_transformers import SentenceTransformer, util
|
5 |
|
6 |
# Load a pre-trained SentenceTransformer model
|
7 |
-
model_name = "paraphrase-MiniLM-L6-v2" #
|
8 |
model = SentenceTransformer(model_name)
|
9 |
|
10 |
# Function to extract text from a PDF file
|
|
|
4 |
from sentence_transformers import SentenceTransformer, util
|
5 |
|
6 |
# Load a pre-trained SentenceTransformer model
|
7 |
+
model_name = "paraphrase-MiniLM-L6-v2" # Can change this to a different model if needed
|
8 |
model = SentenceTransformer(model_name)
|
9 |
|
10 |
# Function to extract text from a PDF file
|