Navyabhat commited on
Commit
10b3037
Β·
verified Β·
1 Parent(s): d0d10bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -9
app.py CHANGED
@@ -68,23 +68,21 @@ with gr.Blocks() as demo:
68
  with gr.Row():
69
  chatbot = gr.Chatbot(
70
  avatar_images=("πŸ§‘", "πŸ€–"),
71
- height=550,
72
  )
73
 
74
  # with gr.Box():
75
  with gr.Row():
76
  # Adding a Textbox with a placeholder "write prompt"
77
  prompt = gr.Textbox(
78
- placeholder="Enter text, or upload an image or audio", lines=2, label="Query", value=None
 
 
 
 
79
  )
80
- # Creating a column with a scale of 2
81
- # with gr.Row():
82
- # Adding image
83
- image= gr.UploadButton("πŸ“", file_types=["image", "audio"])
84
  audio_upload= image
85
- # Creating a column with a scale of 2
86
- # with gr.Row():
87
- # Add audio
88
  audio_mic = gr.Audio(
89
  source="microphone", type="filepath", format="mp3"
90
  )
 
68
  with gr.Row():
69
  chatbot = gr.Chatbot(
70
  avatar_images=("πŸ§‘", "πŸ€–"),
71
+ height=450,
72
  )
73
 
74
  # with gr.Box():
75
  with gr.Row():
76
  # Adding a Textbox with a placeholder "write prompt"
77
  prompt = gr.Textbox(
78
+ placeholder="Enter text, or upload an image or audio", lines=2, label="Query", value=None, scale = 4
79
+ )
80
+
81
+ image= gr.UploadButton(
82
+ "πŸ“", file_types=["image", "audio"]
83
  )
 
 
 
 
84
  audio_upload= image
85
+
 
 
86
  audio_mic = gr.Audio(
87
  source="microphone", type="filepath", format="mp3"
88
  )