ONEROCKS commited on
Commit
ea07ed5
·
verified ·
1 Parent(s): 2f9d5a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -298,7 +298,7 @@ def chat_with_ai(message, history, role, audio_file=None):
298
 
299
  def create_chatbot():
300
  with gr.Blocks(
301
- theme=gr.themes.Monochrome(),
302
  css="""
303
  @import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
304
 
@@ -370,7 +370,7 @@ def create_chatbot():
370
  """
371
  ) as demo:
372
  with gr.Tab("Chatbot"):
373
- chatbot = gr.Chatbot(type='messages')
374
  audio_output = gr.Audio(type="filepath", visible=False, autoplay=True)
375
  state = gr.State([])
376
 
 
298
 
299
  def create_chatbot():
300
  with gr.Blocks(
301
+ theme=gr.themes.Default(),
302
  css="""
303
  @import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
304
 
 
370
  """
371
  ) as demo:
372
  with gr.Tab("Chatbot"):
373
+ chatbot = gr.ChatInterface(type='messages')
374
  audio_output = gr.Audio(type="filepath", visible=False, autoplay=True)
375
  state = gr.State([])
376