arxivgpt kim commited on
Commit
7990584
1 Parent(s): 3e510b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -155,9 +155,9 @@ css="""
155
 
156
  with gr.Blocks() as app:
157
  with gr.Tabs():
158
- with gr.TabItem("Image to SFX"):
159
  with gr.Column():
160
- gr.Markdown("### Image to SFX")
161
  image_in = gr.Image(sources=["upload"], type="filepath", label="Image input")
162
  chosen_model = gr.Radio(label="Choose a model", choices=["MAGNet", "AudioLDM-2", "AudioGen"], value="AudioLDM-2")
163
  submit_btn = gr.Button("Submit")
@@ -168,9 +168,9 @@ with gr.Blocks() as app:
168
  outputs=audio_o
169
  )
170
 
171
- with gr.TabItem("Pexels Image Search"):
172
  with gr.Column():
173
- gr.Markdown("### Pexels Image Search")
174
  search_query = gr.Textbox(label="사진 검색")
175
  search_btn = gr.Button("검색")
176
  images_output = gr.Gallery(label="검색 결과 이미지")
 
155
 
156
  with gr.Blocks() as app:
157
  with gr.Tabs():
158
+ with gr.TabItem("Image to Audio"):
159
  with gr.Column():
160
+ gr.Markdown("### Image to Audio")
161
  image_in = gr.Image(sources=["upload"], type="filepath", label="Image input")
162
  chosen_model = gr.Radio(label="Choose a model", choices=["MAGNet", "AudioLDM-2", "AudioGen"], value="AudioLDM-2")
163
  submit_btn = gr.Button("Submit")
 
168
  outputs=audio_o
169
  )
170
 
171
+ with gr.TabItem("FREE Image Search"):
172
  with gr.Column():
173
+ gr.Markdown("### FREE Image Search")
174
  search_query = gr.Textbox(label="사진 검색")
175
  search_btn = gr.Button("검색")
176
  images_output = gr.Gallery(label="검색 결과 이미지")