dammy commited on
Commit
7f9bf9b
·
1 Parent(s): 5573a68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -78,19 +78,11 @@ def upload_pdf(file):
78
  file_name = file.name
79
  pdf_filename = os.path.basename(file_path)
80
 
81
- messsage = load_document(pdf_filename)
82
-
83
-
84
  return messsage
 
85
 
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
  iface = gr.Interface(
95
  fn=upload_pdf,
96
  inputs="file",
 
78
  file_name = file.name
79
  pdf_filename = os.path.basename(file_path)
80
 
81
+ messsage = load_document(pdf_filename)
 
 
82
  return messsage
83
+
84
 
85
+
 
 
 
 
 
 
 
86
  iface = gr.Interface(
87
  fn=upload_pdf,
88
  inputs="file",