Tonic commited on
Commit
5534e3f
·
unverified ·
1 Parent(s): 0071153

improve interface

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +4 -4
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Minitron
3
  emoji: 🚐🤖💽
4
  colorFrom: blue
5
  colorTo: red
 
1
  ---
2
+ title: Nemotron-Mini
3
  emoji: 🚐🤖💽
4
  colorFrom: blue
5
  colorTo: red
app.py CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks() as demo:
86
  gr.Markdown(joinus)
87
  with gr.Row():
88
  with gr.Column(scale=3):
89
- chatbot = gr.Chatbot(height=400)
90
  msg = gr.Textbox(label="User Input", placeholder="Ask a question or request a task...")
91
  with gr.Accordion(label="🧪Advanced Settings", open=False):
92
  system_message = gr.Textbox(
@@ -103,11 +103,11 @@ with gr.Blocks() as demo:
103
  max_tokens = gr.Slider(minimum=1, maximum=1024, value=256, step=1, label="Max Tokens")
104
  temperature = gr.Slider(minimum=0.1, maximum=2.0, value=0.7, step=0.1, label="Temperature")
105
  top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p")
106
- use_pipeline = gr.Checkbox(label="Use Pipeline", value=False)
107
- use_tool = gr.Checkbox(label="Use Function Calling", value=False)
108
  with gr.Column(visible=False) as tool_options:
109
  tool_definition = gr.Code(
110
- label="Tool Definition (JSON)",
111
  value=customtool,
112
  lines=15,
113
  language="json"
 
86
  gr.Markdown(joinus)
87
  with gr.Row():
88
  with gr.Column(scale=3):
89
+ chatbot = gr.Chatbot(label="🤖Nemotron-Mini", height=400)
90
  msg = gr.Textbox(label="User Input", placeholder="Ask a question or request a task...")
91
  with gr.Accordion(label="🧪Advanced Settings", open=False):
92
  system_message = gr.Textbox(
 
103
  max_tokens = gr.Slider(minimum=1, maximum=1024, value=256, step=1, label="Max Tokens")
104
  temperature = gr.Slider(minimum=0.1, maximum=2.0, value=0.7, step=0.1, label="Temperature")
105
  top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p")
106
+ use_pipeline = gr.Checkbox(label="Use🤷🏻‍♂️Pipeline", value=False)
107
+ use_tool = gr.Checkbox(label="Use Function🤖Calling", value=False)
108
  with gr.Column(visible=False) as tool_options:
109
  tool_definition = gr.Code(
110
+ label="🤖Tool Definition (JSON)",
111
  value=customtool,
112
  lines=15,
113
  language="json"