Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,15 +20,6 @@ def process_with_markitdown(input_path):
|
|
20 |
except Exception as e:
|
21 |
return f"Error processing input: {str(e)}"
|
22 |
|
23 |
-
import tempfile
|
24 |
-
import os
|
25 |
-
import io
|
26 |
-
|
27 |
-
import tempfile
|
28 |
-
import os
|
29 |
-
import io
|
30 |
-
from gardio import upload_file
|
31 |
-
|
32 |
def save_uploaded_file(file_data):
|
33 |
"""Saves a file uploaded with gardio to a temporary location.
|
34 |
|
|
|
20 |
except Exception as e:
|
21 |
return f"Error processing input: {str(e)}"
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
def save_uploaded_file(file_data):
|
24 |
"""Saves a file uploaded with gardio to a temporary location.
|
25 |
|