Spaces:
Running on Zero
Running on Zero
promote to v5
#1
by shubhamgoel27 - opened
app.py
CHANGED
|
@@ -24,7 +24,7 @@ from qwen_vl_utils import process_vision_info
|
|
| 24 |
from rules import Kind, Day, Restriction, Window, SignStack, can_park, Verdict
|
| 25 |
|
| 26 |
BASE_ID = "Qwen/Qwen2.5-VL-3B-Instruct"
|
| 27 |
-
ADAPTER_REPO = os.environ.get("ADAPTER_REPO", "shubhamgoel27/curbcheck-qwen25vl3b-
|
| 28 |
|
| 29 |
READ_PROMPT = """Look at the parking sign stack in this image. Extract EVERY sign as a JSON array.
|
| 30 |
Each element: {"kind": one of [no_parking, no_stopping, tow_away, time_limit, permit_limit, street_cleaning, loading_only, angle_parking] (use permit_limit when the sign has a permit exemption like EXCEPT AREA X PERMIT, time_limit otherwise; use angle_parking for orientation signs like "PARK AT 90 DEGREES" which do not restrict parking),
|
|
|
|
| 24 |
from rules import Kind, Day, Restriction, Window, SignStack, can_park, Verdict
|
| 25 |
|
| 26 |
BASE_ID = "Qwen/Qwen2.5-VL-3B-Instruct"
|
| 27 |
+
ADAPTER_REPO = os.environ.get("ADAPTER_REPO", "shubhamgoel27/curbcheck-qwen25vl3b-v5-lora")
|
| 28 |
|
| 29 |
READ_PROMPT = """Look at the parking sign stack in this image. Extract EVERY sign as a JSON array.
|
| 30 |
Each element: {"kind": one of [no_parking, no_stopping, tow_away, time_limit, permit_limit, street_cleaning, loading_only, angle_parking] (use permit_limit when the sign has a permit exemption like EXCEPT AREA X PERMIT, time_limit otherwise; use angle_parking for orientation signs like "PARK AT 90 DEGREES" which do not restrict parking),
|