IBounhas commited on
Commit
531183f
·
1 Parent(s): 5715f02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
-
4
 
5
  # Define a function that takes a text input and returns the result
6
  def analyze_text(input):
 
1
  import gradio as gr
2
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
+ import torch
4
 
5
  # Define a function that takes a text input and returns the result
6
  def analyze_text(input):