Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ df = pd.read_csv("1921_catalogue_SMG.csv") # Replace with your actual CSV file
|
|
9 |
text_column = "Description" # Replace with the actual column name containing the text data
|
10 |
|
11 |
# Load the model
|
12 |
-
model = GLiNER.from_pretrained("max-long/
|
13 |
|
14 |
def get_new_snippet():
|
15 |
# Randomly select a snippet from the CSV file
|
|
|
9 |
text_column = "Description" # Replace with the actual column name containing the text data
|
10 |
|
11 |
# Load the model
|
12 |
+
model = GLiNER.from_pretrained("max-long/textile_machines_ner_5_oct", trust_remote_code=True)
|
13 |
|
14 |
def get_new_snippet():
|
15 |
# Randomly select a snippet from the CSV file
|