Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,5 @@
|
|
1 |
# https://huggingface.co/spaces/Mishmosh/MichelleAssessment3
|
2 |
import gradio as gr
|
3 |
-
#def process_input(pdf_file):
|
4 |
-
# print("Received PDF File:", pdf_file.name)
|
5 |
-
# with open("received_pdf.pdf", "wb") as output_file:
|
6 |
-
# output_file.write(pdf_file.read())
|
7 |
-
#return None
|
8 |
-
|
9 |
def process_input(pdf_file):
|
10 |
print("Received PDF File:", pdf_file.name)
|
11 |
# Read the content of the uploaded PDF file
|
|
|
1 |
# https://huggingface.co/spaces/Mishmosh/MichelleAssessment3
|
2 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
def process_input(pdf_file):
|
4 |
print("Received PDF File:", pdf_file.name)
|
5 |
# Read the content of the uploaded PDF file
|