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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.Soft(),
302
  css="""
303
  @import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
304
 
@@ -383,10 +383,10 @@ def create_chatbot():
383
  )
384
  with gr.Column(scale=1, min_width=5):
385
  send_btn = gr.Button("👾")
386
- with gr.Column(scale=0, min_width=500):
387
  audio_input = gr.Audio(sources=["microphone"], type="filepath", visible=False)
388
  audio_btn = gr.Button("🎤")
389
- with gr.Column(scale=0, min_width=500):
390
  file_input = gr.File(label="", file_types=[".txt", ".png", ".jpg", ".jpeg", ".pdf"], visible=False)
391
  file_btn = gr.Button("📁")
392
 
 
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
 
 
383
  )
384
  with gr.Column(scale=1, min_width=5):
385
  send_btn = gr.Button("👾")
386
+ with gr.Column(scale=0, min_width=150):
387
  audio_input = gr.Audio(sources=["microphone"], type="filepath", visible=False)
388
  audio_btn = gr.Button("🎤")
389
+ with gr.Column(scale=0, min_width=150):
390
  file_input = gr.File(label="", file_types=[".txt", ".png", ".jpg", ".jpeg", ".pdf"], visible=False)
391
  file_btn = gr.Button("📁")
392