Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def qa(question):
|
|
121 |
return prompt
|
122 |
|
123 |
def test_func(text):
|
124 |
-
return
|
125 |
|
126 |
with gr.Blocks() as demo:
|
127 |
|
|
|
121 |
return prompt
|
122 |
|
123 |
def test_func(text):
|
124 |
+
return reader.pages[0].extract_text()
|
125 |
|
126 |
with gr.Blocks() as demo:
|
127 |
|