Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,8 +49,8 @@ with gr.Blocks() as demo:
|
|
49 |
|
50 |
gr.ChatInterface(
|
51 |
respond,
|
52 |
-
|
53 |
-
|
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 |
-
|
65 |
-
|
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"),
|