OpenSound commited on
Commit
f340743
1 Parent(s): 8fd08df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -113,16 +113,16 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
113
  """)
114
 
115
  # Basic Input: Text prompt and Audio Length
116
- with gr.Row():
117
- text_input = gr.Textbox(
118
- label="Text Prompt",
119
- show_label=True,
120
- max_lines=2,
121
- placeholder="Enter your prompt",
122
- container=True,
123
- value="a dog barking in the distance",
124
- )
125
- length_input = gr.Slider(minimum=1, maximum=10, step=1, value=10, label="Audio Length (in seconds)")
126
 
127
  # Output Component
128
  result = gr.Audio(label="Result", type="numpy")
 
113
  """)
114
 
115
  # Basic Input: Text prompt and Audio Length
116
+ # with gr.Row():
117
+ text_input = gr.Textbox(
118
+ label="Text Prompt",
119
+ show_label=True,
120
+ max_lines=2,
121
+ placeholder="Enter your prompt",
122
+ container=True,
123
+ value="a dog barking in the distance",
124
+ )
125
+ length_input = gr.Slider(minimum=1, maximum=10, step=1, value=10, label="Audio Length (in seconds)")
126
 
127
  # Output Component
128
  result = gr.Audio(label="Result", type="numpy")