TejAndrewsACC commited on
Commit
5a54286
·
verified ·
1 Parent(s): 6c63ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -1466,16 +1466,17 @@ body {
1466
  background-color: rgba(0, 200, 255, 1);
1467
  }
1468
  """
1469
-
1470
- demo = gr.ChatInterface(
1471
- respond,
1472
- additional_inputs=[
1473
- gr.Slider(minimum=1, maximum=2048, value=2048, step=1, label="Maximum Response Length"),
1474
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Creativity"),
1475
- gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Neural Activity")
1476
- ],
 
 
1477
  theme="TejAndrewsACC/zetaofficalthemeacc",
1478
- css=css
1479
  )
1480
 
1481
  if __name__ == "__main__":
 
1466
  background-color: rgba(0, 200, 255, 1);
1467
  }
1468
  """
1469
+ demo = gr.ChatInterface(
1470
+ fn=respond,
1471
+ type="messages",
1472
+ chatbot=gr.Chatbot(
1473
+ type="messages",
1474
+ label="💤Z3ta💤",
1475
+ show_copy_button=True,
1476
+ group_consecutive_messages=False,
1477
+ show_copy_all_button=True
1478
+ ),
1479
  theme="TejAndrewsACC/zetaofficalthemeacc",
 
1480
  )
1481
 
1482
  if __name__ == "__main__":