TheresaQWQ commited on
Commit
4d2a98a
·
verified ·
1 Parent(s): 950be38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  from transformers import AutoModelForSequenceClassification
 
3
 
4
  # Load the pre-trained model
5
  model = AutoModelForSequenceClassification.from_pretrained(
@@ -43,3 +44,9 @@ iface = gr.Interface(
43
  # Launch the interface
44
  if __name__ == "__main__":
45
  iface.launch()
 
 
 
 
 
 
 
1
  import gradio as gr
2
  from transformers import AutoModelForSequenceClassification
3
+ import torch
4
 
5
  # Load the pre-trained model
6
  model = AutoModelForSequenceClassification.from_pretrained(
 
44
  # Launch the interface
45
  if __name__ == "__main__":
46
  iface.launch()
47
+
48
+
49
+
50
+
51
+
52
+