Migu3low commited on
Commit
86be657
·
verified ·
1 Parent(s): e38d54d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -49,8 +49,8 @@ with gr.Blocks() as demo:
49
 
50
  gr.ChatInterface(
51
  respond,
52
- textbox=gr.Textbox(placeholder="Enter message here", container=False, scale = 7),
53
- chatbot=gr.Chatbot(height=400),
54
  additional_inputs=[
55
  gr.Textbox("You are helpful AI", label="System Prompt"),
56
  gr.Slider(500,4000, label="Max New Tokens"),
@@ -61,8 +61,8 @@ with gr.Blocks() as demo:
61
 
62
  gr.ChatInterface(
63
  respond,
64
- textbox=gr.Textbox(placeholder="Enter message here", container=False, scale = 7),
65
- chatbot=gr.Chatbot(height=400),
66
  additional_inputs=[
67
  gr.Textbox("You are helpful AI", label="System Prompt"),
68
  gr.Slider(500,4000, label="Max New Tokens"),
 
49
 
50
  gr.ChatInterface(
51
  respond,
52
+ textbox1=gr.Textbox(placeholder="Enter message here", container=False, scale = 7),
53
+ chatbot1=gr.Chatbot(height=400),
54
  additional_inputs=[
55
  gr.Textbox("You are helpful AI", label="System Prompt"),
56
  gr.Slider(500,4000, label="Max New Tokens"),
 
61
 
62
  gr.ChatInterface(
63
  respond,
64
+ textbox2=gr.Textbox(placeholder="Enter message here", container=False, scale = 7),
65
+ chatbot2=gr.Chatbot(height=400),
66
  additional_inputs=[
67
  gr.Textbox("You are helpful AI", label="System Prompt"),
68
  gr.Slider(500,4000, label="Max New Tokens"),