Navyabhat commited on
Commit
4fdc15c
Β·
verified Β·
1 Parent(s): c78f490

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -112,7 +112,7 @@ with gr.Blocks(theme=seafoam) as demo:
112
  with gr.Row():
113
  chatbot = gr.Chatbot(
114
  avatar_images=("πŸ§‘", "πŸ€–"),
115
- height=450,
116
  )
117
 
118
  with gr.Row():
@@ -122,8 +122,9 @@ with gr.Blocks(theme=seafoam) as demo:
122
  )
123
 
124
  image= gr.UploadButton(
125
- "πŸ“", file_types=["image", "audio"]
126
  )
 
127
  audio_upload= image
128
 
129
  audio_mic = gr.Audio(
 
112
  with gr.Row():
113
  chatbot = gr.Chatbot(
114
  avatar_images=("πŸ§‘", "πŸ€–"),
115
+ height=350,
116
  )
117
 
118
  with gr.Row():
 
122
  )
123
 
124
  image= gr.UploadButton(
125
+ "Upload image/audio", file_types=["image", "audio"]
126
  )
127
+ image=Path(str( image.name))
128
  audio_upload= image
129
 
130
  audio_mic = gr.Audio(