Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ tokenized_train_data=train_data.map(tokenize_fun,batched=True)
|
|
150 |
|
151 |
tokenized_train_data.features
|
152 |
|
153 |
-
|
154 |
import evaluate
|
155 |
accuracy=evaluate.load('accuracy')
|
156 |
|
@@ -207,7 +207,7 @@ pipe=pipeline('text-classification',model='Nainglinthu/quest_model')
|
|
207 |
output=pipe('Hexal Australia Pty Ltd v Roche Therapeutics Inc (2005) 66 IPR 325, the likelihood of irreparable harm was regarded by Stone J as, indeed, a separate element that had to be established by an applicant for an interlocutory injunction.')
|
208 |
output
|
209 |
|
210 |
-
|
211 |
import gradio as gr
|
212 |
from transformers import pipeline
|
213 |
|
|
|
150 |
|
151 |
tokenized_train_data.features
|
152 |
|
153 |
+
|
154 |
import evaluate
|
155 |
accuracy=evaluate.load('accuracy')
|
156 |
|
|
|
207 |
output=pipe('Hexal Australia Pty Ltd v Roche Therapeutics Inc (2005) 66 IPR 325, the likelihood of irreparable harm was regarded by Stone J as, indeed, a separate element that had to be established by an applicant for an interlocutory injunction.')
|
208 |
output
|
209 |
|
210 |
+
|
211 |
import gradio as gr
|
212 |
from transformers import pipeline
|
213 |
|