Giter VIP home page Giter VIP logo

Comments (2)

ssssssman avatar ssssssman commented on May 28, 2024 1

Thx, waiting for update

from multiai.

ShamHyper avatar ShamHyper commented on May 28, 2024

Now code really shows the default values at startup:

MultiAI/app.py

Lines 180 to 198 in 4875a39

with gr.Tab("Settings"):
with gr.Row():
gr.Label("This options checked by default! This not your options!")
with gr.Row():
settings_debug_mode = gr.Checkbox(value=True, label="Enable debug mode (write debug info and logs)")
with gr.Row():
settings_start_in_browser = gr.Checkbox(value=True, label="Enable MultiAI starting in browser")
with gr.Row():
settings_share_gradio = gr.Checkbox(value=False, label="Enable MultiAI starting with share link")
with gr.Row():
settings_preload_models = gr.Checkbox(value=False, label="Enable preloading AI models")
with gr.Row():
settings_clear_on_start = gr.Checkbox(value=False, label="Enable clear all outputs on MultiAI start")
with gr.Row():
json_files = gr.Dropdown(label="Pick .json file to write settings", choices=config.list_json_files())
settings_save = gr.Button("🗃️ Save settings")
settings_save_progress = gr.Textbox(label="Saving progress", placeholder="Your saving progress will be here")
with gr.Row():
gr.Label("Creating new ones .json files in ../settings will not give any effect. Choose only config.json in dropdown above!")

But when you click "Save", your settings are written to config.json.
I have been planning to make the settings appear dynamically for a long time, so please wait until I finish working on this

from multiai.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.