Tesneem commited on
Commit
8ea2f10
·
verified ·
1 Parent(s): 13be5aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -648,8 +648,9 @@ def main():
648
  # ---- JSON Batch Mode ----
649
  with tab_batch:
650
  st.subheader("Batch from JSON")
651
- url="https://chatgpt.com/g/g-689b64bc10e88191bca964eea6b438a6-grant-json-builder"
652
- st.subheader("Grant JSON Builder" % url)
 
653
  json_file = st.file_uploader("Upload JSON config", type=["json"])
654
  if json_file:
655
  cfg = json.load(json_file)
@@ -657,7 +658,7 @@ def main():
657
 
658
  if st.button("Run Batch"):
659
  results = []
660
- # Sidebar defaults (what you already collect)
661
  defaults = {
662
  "k": settings["k"],
663
  "max_tokens": settings["max_tokens"],
 
648
  # ---- JSON Batch Mode ----
649
  with tab_batch:
650
  st.subheader("Batch from JSON")
651
+ # url="https://chatgpt.com/g/g-689b64bc10e88191bca964eea6b438a6-grant-json-builder"
652
+ # st.subheader("Grant JSON Builder" % url)
653
+ st.link_button("Grant JSON Builder", "https://chatgpt.com/g/g-689b64bc10e88191bca964eea6b438a6-grant-json-builder")
654
  json_file = st.file_uploader("Upload JSON config", type=["json"])
655
  if json_file:
656
  cfg = json.load(json_file)
 
658
 
659
  if st.button("Run Batch"):
660
  results = []
661
+ # sidebar defaults
662
  defaults = {
663
  "k": settings["k"],
664
  "max_tokens": settings["max_tokens"],