Nainglinthu commited on
Commit
12109f5
·
verified ·
1 Parent(s): ec53720

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- !pip install evaluate
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
- !pip install --upgrade gradio
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