Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -95,6 +95,7 @@ def demo(image_name, prompt):
|
|
95 |
return json
|
96 |
|
97 |
def process_document(image):
|
|
|
98 |
if isinstance(image, np.ndarray):
|
99 |
image = Image.fromarray(image)
|
100 |
one = demo(image, other_benifits)
|
@@ -114,7 +115,7 @@ demo = gr.Interface(
|
|
114 |
title="PaySlip_Demo_Model",
|
115 |
# article=article,
|
116 |
# enable_queue=True,
|
117 |
-
examples=[
|
118 |
cache_examples=False)
|
119 |
|
120 |
demo.launch()
|
|
|
95 |
return json
|
96 |
|
97 |
def process_document(image):
|
98 |
+
print(f"Received Image --->>>>>> {image}")
|
99 |
if isinstance(image, np.ndarray):
|
100 |
image = Image.fromarray(image)
|
101 |
one = demo(image, other_benifits)
|
|
|
115 |
title="PaySlip_Demo_Model",
|
116 |
# article=article,
|
117 |
# enable_queue=True,
|
118 |
+
examples=["Slip_1.jpg", "Slip_2.jpg"],
|
119 |
cache_examples=False)
|
120 |
|
121 |
demo.launch()
|