PierreBrunelle commited on
Commit
6e81b07
1 Parent(s): a2ae60c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -113,7 +113,7 @@ def process_and_generate_post(video_file, social_media_type, progress=gr.Progres
113
  import gradio as gr
114
 
115
  def gradio_interface():
116
- with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
117
  gr.Markdown("""
118
  <img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png" alt="Pixeltable" width="20%" /></img>
119
  <h1>Video to Social Media Post Generator</h1>
@@ -153,10 +153,11 @@ def gradio_interface():
153
  height='400px',
154
  autoplay=False
155
  )
156
- social_media_type = gr.Dropdown(
157
  choices=["X (Twitter)", "Facebook", "LinkedIn", "Instagram"],
158
  label="Select Social Media Platform:",
159
  value="X (Twitter)",
 
160
  )
161
  generate_btn = gr.Button("Generate Post")
162
 
 
113
  import gradio as gr
114
 
115
  def gradio_interface():
116
+ with gr.Blocks(theme=gr.themes.Base()) as demo:
117
  gr.Markdown("""
118
  <img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png" alt="Pixeltable" width="20%" /></img>
119
  <h1>Video to Social Media Post Generator</h1>
 
153
  height='400px',
154
  autoplay=False
155
  )
156
+ social_media_type = gr.Radio(
157
  choices=["X (Twitter)", "Facebook", "LinkedIn", "Instagram"],
158
  label="Select Social Media Platform:",
159
  value="X (Twitter)",
160
+ interactive=True
161
  )
162
  generate_btn = gr.Button("Generate Post")
163