Migu3low commited on
Commit
cd1c404
·
verified ·
1 Parent(s): 0a95462

New config

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -45,8 +45,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
45
  with gr.Blocks() as demo:
46
  gr.Markdown("Used two ChatBots for testing and comparison of correct answers :+1: ")
47
  with gr.Row() as row:
48
- with gr.Column():
49
- chat_1 = gr.ChatInterface(
 
 
50
  respond,
51
  additional_inputs=[
52
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
@@ -63,7 +65,7 @@ with gr.Blocks() as demo:
63
  )
64
 
65
  with gr.Column():
66
- chat_2 = gr.ChatInterface(
67
  respond,
68
  additional_inputs=[
69
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
 
45
  with gr.Blocks() as demo:
46
  gr.Markdown("Used two ChatBots for testing and comparison of correct answers :+1: ")
47
  with gr.Row() as row:
48
+ with gr.Column():
49
+ system_prompt = gr.Textbox("You are helpful AI.", label="System Prompt")
50
+ slider = gr.Slider(10, 100, render=False
51
+ gr.ChatInterface(
52
  respond,
53
  additional_inputs=[
54
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
 
65
  )
66
 
67
  with gr.Column():
68
+ gr.ChatInterface(
69
  respond,
70
  additional_inputs=[
71
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),