Update app.py
Browse files
app.py
CHANGED
@@ -102,13 +102,13 @@ question_files = {
|
|
102 |
|
103 |
|
104 |
def process_path(path):
|
105 |
-
print(path)
|
106 |
-
print("-----------")
|
107 |
error = None
|
108 |
if path:
|
109 |
try:
|
110 |
document = load_document(path)
|
|
|
111 |
print(document)
|
|
|
112 |
return (
|
113 |
document,
|
114 |
gr.update(visible=True, value=document.preview),
|
|
|
102 |
|
103 |
|
104 |
def process_path(path):
|
|
|
|
|
105 |
error = None
|
106 |
if path:
|
107 |
try:
|
108 |
document = load_document(path)
|
109 |
+
print("---------")
|
110 |
print(document)
|
111 |
+
print(document.preview)
|
112 |
return (
|
113 |
document,
|
114 |
gr.update(visible=True, value=document.preview),
|