Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import dash
|
| 2 |
from dash import dcc, html
|
| 3 |
import dash_bootstrap_components as dbc
|
| 4 |
-
import gradio as gr
|
| 5 |
from transformers import pipeline
|
| 6 |
import PyPDF2
|
| 7 |
import docx
|
|
@@ -10,7 +9,6 @@ import numpy as np
|
|
| 10 |
import pandas as pd
|
| 11 |
import requests
|
| 12 |
import json
|
| 13 |
-
from simple_salesforce import Salesforce
|
| 14 |
|
| 15 |
# Initialize the BERT-based NLP pipeline
|
| 16 |
model_name = "dbmdz/bert-large-cased-finetuned-conll03-english" # Example, replace with your model
|
|
|
|
| 1 |
import dash
|
| 2 |
from dash import dcc, html
|
| 3 |
import dash_bootstrap_components as dbc
|
|
|
|
| 4 |
from transformers import pipeline
|
| 5 |
import PyPDF2
|
| 6 |
import docx
|
|
|
|
| 9 |
import pandas as pd
|
| 10 |
import requests
|
| 11 |
import json
|
|
|
|
| 12 |
|
| 13 |
# Initialize the BERT-based NLP pipeline
|
| 14 |
model_name = "dbmdz/bert-large-cased-finetuned-conll03-english" # Example, replace with your model
|