code: def scale_workers(workers):
      if st.session_state.registered:
          num_workers = st.session_state[workers]
          url = (
              f"http://localhost:8081/models/{MODEL_NAME}?min_worker="
              f"{str(num_workers)}&synchronous=true"
          )
          res = requests.put(url)
          server_state_container.caption(res.text)
  
file_path: serve/examples/LLM/llama2/chat_app/torchserve_server_app.py
imports: import json
  import os
  import requests
  import streamlit
label_desc: Use image node_id 6 for calling a global function with example usage: scale_workers(workers) without return types