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("
|
| 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("congruence-engine/gliner_2.5_textile_industry_historic", trust_remote_code=True)
|
| 13 |
|
| 14 |
def get_new_snippet():
|
| 15 |
# Randomly select a snippet from the CSV file
|