Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def gradio_predict(image):
|
|
| 15 |
# Use the Gradio client to predict the result
|
| 16 |
result = client.predict(
|
| 17 |
image=handle_file(temp_path),
|
| 18 |
-
question="extract the
|
| 19 |
api_name="/predict"
|
| 20 |
)
|
| 21 |
|
|
|
|
| 15 |
# Use the Gradio client to predict the result
|
| 16 |
result = client.predict(
|
| 17 |
image=handle_file(temp_path),
|
| 18 |
+
question="extract the item_weight from the image only give me the weight only like 100gm or 200 gm",
|
| 19 |
api_name="/predict"
|
| 20 |
)
|
| 21 |
|