Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ user_input_abstract = form.text_area(label = 'abstract', value = dataframe['abst
|
|
47 |
user_input_claims = form.text_area(label = 'claims', value = dataframe['claims'][0])
|
48 |
submit = form.form_submit_button('Submit')
|
49 |
|
50 |
-
model_name = 'AI-Growth-Lab/PatentSBERTa'
|
51 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
52 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
53 |
|
|
|
47 |
user_input_claims = form.text_area(label = 'claims', value = dataframe['claims'][0])
|
48 |
submit = form.form_submit_button('Submit')
|
49 |
|
50 |
+
model_name = "ayethuzar/tuned-for-patentability"#'AI-Growth-Lab/PatentSBERTa'
|
51 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
52 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
53 |
|