Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ from io import BytesIO
|
|
| 15 |
import re
|
| 16 |
import requests
|
| 17 |
import pandas as pd
|
|
|
|
| 18 |
import fitz # PyMuPDF
|
| 19 |
import re
|
| 20 |
import urllib.parse
|
|
@@ -43,7 +44,7 @@ logger = logging.getLogger(__name__)
|
|
| 43 |
|
| 44 |
# Improved launch with debug mode enabled
|
| 45 |
iface = gr.Interface(
|
| 46 |
-
fn=identify_headers_and_save_excel,
|
| 47 |
inputs=[
|
| 48 |
gr.Textbox(label="PDF URL"),
|
| 49 |
gr.Textbox(label="Model Type"), # Default example
|
|
|
|
| 15 |
import re
|
| 16 |
import requests
|
| 17 |
import pandas as pd
|
| 18 |
+
import InitialMarkupsLLM_huggingFace
|
| 19 |
import fitz # PyMuPDF
|
| 20 |
import re
|
| 21 |
import urllib.parse
|
|
|
|
| 44 |
|
| 45 |
# Improved launch with debug mode enabled
|
| 46 |
iface = gr.Interface(
|
| 47 |
+
fn=InitialMarkupsLLM_huggingFace.identify_headers_and_save_excel,
|
| 48 |
inputs=[
|
| 49 |
gr.Textbox(label="PDF URL"),
|
| 50 |
gr.Textbox(label="Model Type"), # Default example
|