Skip to content

Commit

Permalink
Weirui dev1203 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk authored Dec 3, 2024
1 parent c3048a8 commit a50eeba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/agentscope/studio/_app_online.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from typing import Tuple, Any
from datetime import timedelta, datetime

import json5
import requests
import oss2
from loguru import logger
Expand Down Expand Up @@ -408,11 +409,9 @@ def create_gallery_pr(**kwargs: Any) -> Response:

gallery_data = {
"meta": meta_info,
"drawflow": data,
"drawflow": json5.loads(data),
}

jwt_token = session.get("jwt_token")
payload = decode_jwt(jwt_token, secret_key=SECRET_KEY)
jwt_token = session.get("jwt_token")
payload = decode_jwt(jwt_token, secret_key=SECRET_KEY)
access_token = payload.get("access_token")
Expand Down
2 changes: 1 addition & 1 deletion src/agentscope/studio/static/js/workstation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2170,7 +2170,7 @@ function showContributePopup(userLogin) {
<button type="button" class="category-button" data-value="entertainment">娱乐</button>
<button type="button" class="category-button" data-value="manufacturing">制造业</button>
<button type="button" class="category-button" data-value="communication">通信</button>
<button type="button" class="category-button" data-value="logistics">物流</button>
<button type="button" class="category-button" data-value="logistics">运筹</button>
<button type="button" class="category-button" data-value="others">其他</button>
</div>
Expand Down

0 comments on commit a50eeba

Please sign in to comment.