Update app.py
Browse files
app.py
CHANGED
@@ -248,9 +248,6 @@ def create_gradio_interface(n_participants, language_choices):
|
|
248 |
with gr.Blocks() as demo:
|
249 |
gr.Markdown("# LinguaPolis: Bridging Languages, Uniting Teams Globally - Multilingual Conference Call Simulation")
|
250 |
|
251 |
-
# Clear button to reset inputs and outputs
|
252 |
-
clear_button = gr.Button("Clear All").click(clear_all, None, [*transcript_outputs, *translated_texts, *dubbed_videos, minutes])
|
253 |
-
|
254 |
video_inputs = []
|
255 |
language_dropdowns = []
|
256 |
transcript_outputs = []
|
@@ -275,6 +272,9 @@ def create_gradio_interface(n_participants, language_choices):
|
|
275 |
)
|
276 |
minutes = gr.Textbox(label="Minutes of Meeting")
|
277 |
gr.Button(f"Generate Minutes of meeting").click(summarize, None, minutes)
|
|
|
|
|
|
|
278 |
|
279 |
# Launch with .queue() to keep it running properly in Jupyter
|
280 |
demo.queue().launch(debug=True, share=True)
|
|
|
248 |
with gr.Blocks() as demo:
|
249 |
gr.Markdown("# LinguaPolis: Bridging Languages, Uniting Teams Globally - Multilingual Conference Call Simulation")
|
250 |
|
|
|
|
|
|
|
251 |
video_inputs = []
|
252 |
language_dropdowns = []
|
253 |
transcript_outputs = []
|
|
|
272 |
)
|
273 |
minutes = gr.Textbox(label="Minutes of Meeting")
|
274 |
gr.Button(f"Generate Minutes of meeting").click(summarize, None, minutes)
|
275 |
+
|
276 |
+
# Clear button to reset inputs and outputs
|
277 |
+
clear_button = gr.Button("Clear All").click(clear_all, None, [*transcript_outputs, *translated_texts, *dubbed_videos, minutes])
|
278 |
|
279 |
# Launch with .queue() to keep it running properly in Jupyter
|
280 |
demo.queue().launch(debug=True, share=True)
|