Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,7 @@
|
|
1 |
from flask import Flask, request
|
2 |
-
from transformers import RobertaForSequenceClassification, RobertaTokenizer, RobertaConfig
|
3 |
-
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
4 |
-
from transformers import RobertaConfig
|
5 |
from torch import cuda
|
6 |
import torch
|
7 |
import gradio as gr
|
8 |
-
import os
|
9 |
-
import re
|
10 |
import pdfplumber
|
11 |
|
12 |
app = Flask(__name__)
|
|
|
1 |
from flask import Flask, request
|
|
|
|
|
|
|
2 |
from torch import cuda
|
3 |
import torch
|
4 |
import gradio as gr
|
|
|
|
|
5 |
import pdfplumber
|
6 |
|
7 |
app = Flask(__name__)
|