GunaKoppula commited on
Commit
63d617b
·
verified ·
1 Parent(s): 81fef51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -78,7 +78,7 @@ with gr.Blocks() as demo:
78
  """
79
  )
80
  with gr.Row():
81
- with gr.Row(scale=4):
82
  # Creating a column with a scale of 6
83
  with gr.Box():
84
  with gr.Row():
@@ -89,16 +89,18 @@ with gr.Blocks() as demo:
89
  # Creating a column with a scale of 2
90
  with gr.Row():
91
  # Adding image
92
- image = gr.Image(type="filepath", value=None)
 
93
  # Creating a column with a scale of 2
94
  with gr.Row():
95
  # Add audio
96
- audio_upload = gr.Audio(source="upload", type="filepath")
97
- audio_mic = gr.Audio(
98
- source="microphone", type="filepath", format="mp3"
99
- )
 
100
 
101
- with gr.Row(scale=8):
102
  with gr.Box():
103
  with gr.Row():
104
  chatbot = gr.Chatbot(
 
78
  """
79
  )
80
  with gr.Row():
81
+ with gr.Column(scale=4):
82
  # Creating a column with a scale of 6
83
  with gr.Box():
84
  with gr.Row():
 
89
  # Creating a column with a scale of 2
90
  with gr.Row():
91
  # Adding image
92
+ image = gr.Image(type="filepath", interactive=True)
93
+ # image = gr.Image(type="filepath", value=None)
94
  # Creating a column with a scale of 2
95
  with gr.Row():
96
  # Add audio
97
+ audio_upload = gr.Audio(type="filepath", interactive=True)
98
+ # audio_upload = gr.Audio(source="upload", type="filepath")
99
+ # audio_mic = gr.Audio(
100
+ # source="microphone", type="filepath", format="mp3"
101
+ # )
102
 
103
+ with gr.Column(scale=8):
104
  with gr.Box():
105
  with gr.Row():
106
  chatbot = gr.Chatbot(