Al John Lexter Lozano commited on
Commit
3bc3b82
1 Parent(s): 9a34627

removed unused libraries

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -3,13 +3,11 @@ from fastapi import File
3
  import gradio as gr
4
  from gib_detect_module import detect
5
  import csv
6
- import torch
7
- import tensorflow as tf
8
 
9
 
10
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
11
  DLmodel = AutoModelForSequenceClassification.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=True)
12
- tokenizer = AutoTokenizer.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=True)
13
 
14
 
15
 
 
3
  import gradio as gr
4
  from gib_detect_module import detect
5
  import csv
 
 
6
 
7
 
8
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
9
  DLmodel = AutoModelForSequenceClassification.from_pretrained("madhurjindal/autonlp-Gibberish-Detector-492513457", use_auth_token=True)
10
+ tokenizer = AutoTokenizer.from_pretrained("madhurjindal/autognlp-Gibberish-Detector-492513457", use_auth_token=True)
11
 
12
 
13