Spaces:
Runtime error
Runtime error
Commit
·
af19bff
1
Parent(s):
a743d61
update
Browse files- src/about.py +5 -4
src/about.py
CHANGED
@@ -360,9 +360,7 @@ Planning
|
|
360 |
"""
|
361 |
|
362 |
EVALUATION_QUEUE_TEXT = """
|
363 |
-
|
364 |
-
|
365 |
-
Evaluation Queue for the FlagEval VLM Leaderboard
|
366 |
|
367 |
Models added here will be automatically evaluated on the FlagEval cluster.
|
368 |
|
@@ -502,7 +500,10 @@ current_file="$0"
|
|
502 |
current_dir="$(dirname "$current_file")"
|
503 |
SERVER_IP=$1
|
504 |
SERVER_PORT=$2
|
505 |
-
PYTHONPATH=$current_dir:$PYTHONPATH python $current_dir/model_adapter.py
|
|
|
|
|
|
|
506 |
```
|
507 |
"""
|
508 |
|
|
|
360 |
"""
|
361 |
|
362 |
EVALUATION_QUEUE_TEXT = """
|
363 |
+
# Evaluation Queue for the FlagEval VLM Leaderboard
|
|
|
|
|
364 |
|
365 |
Models added here will be automatically evaluated on the FlagEval cluster.
|
366 |
|
|
|
500 |
current_dir="$(dirname "$current_file")"
|
501 |
SERVER_IP=$1
|
502 |
SERVER_PORT=$2
|
503 |
+
PYTHONPATH=$current_dir:$PYTHONPATH python $current_dir/model_adapter.py \
|
504 |
+
--server_ip $SERVER_IP \
|
505 |
+
--server_port $SERVER_PORT \
|
506 |
+
"${@:3}"
|
507 |
```
|
508 |
"""
|
509 |
|