Spaces:
Runtime error
Runtime error
Commit
Β·
0f8ba6a
1
Parent(s):
ea06666
Updated inference method
Browse files
app.py
CHANGED
|
@@ -10,6 +10,8 @@ def inference(img_path, width_ths):
|
|
| 10 |
|
| 11 |
output = "\n".join(output)
|
| 12 |
|
|
|
|
|
|
|
| 13 |
title = "Receipt RAG"
|
| 14 |
description = "A simple Gradio interface to query receipts using RAG"
|
| 15 |
examples = [["data/receipt_00000.JPG", 7.7],
|
|
|
|
| 10 |
|
| 11 |
output = "\n".join(output)
|
| 12 |
|
| 13 |
+
return output
|
| 14 |
+
|
| 15 |
title = "Receipt RAG"
|
| 16 |
description = "A simple Gradio interface to query receipts using RAG"
|
| 17 |
examples = [["data/receipt_00000.JPG", 7.7],
|