Update app.py
Browse files
app.py
CHANGED
|
@@ -390,10 +390,7 @@ def transcribe_audio_with_lid(audio_path):
|
|
| 390 |
with gr.Blocks(theme=gr.themes.Soft(), title="Indic STT + Translation + Question Recommendations") as demo:
|
| 391 |
gr.Markdown(f"## {DESCRIPTION}")
|
| 392 |
gr.Markdown("""
|
| 393 |
-
|
| 394 |
-
**English audio**: Powered by Whisper Transformers | **Indic audio**: Powered by IndicConformer
|
| 395 |
-
Get AI-powered question recommendations via **Google Gemini API**.
|
| 396 |
-
""")
|
| 397 |
|
| 398 |
with gr.Row():
|
| 399 |
with gr.Column(scale=1):
|
|
@@ -462,7 +459,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Indic STT + Translation + Question
|
|
| 462 |
with gr.Tab(" Question Recommendations"):
|
| 463 |
questions_output = gr.Textbox(
|
| 464 |
lines=8,
|
| 465 |
-
label="Recommended Questions
|
| 466 |
placeholder="Gemini AI-recommended questions will appear here..."
|
| 467 |
)
|
| 468 |
|
|
|
|
| 390 |
with gr.Blocks(theme=gr.themes.Soft(), title="Indic STT + Translation + Question Recommendations") as demo:
|
| 391 |
gr.Markdown(f"## {DESCRIPTION}")
|
| 392 |
gr.Markdown("""
|
| 393 |
+
Upload/record audio OR input text in English or any of the 22 supported Indian languages""")
|
|
|
|
|
|
|
|
|
|
| 394 |
|
| 395 |
with gr.Row():
|
| 396 |
with gr.Column(scale=1):
|
|
|
|
| 459 |
with gr.Tab(" Question Recommendations"):
|
| 460 |
questions_output = gr.Textbox(
|
| 461 |
lines=8,
|
| 462 |
+
label="Recommended Questions",
|
| 463 |
placeholder="Gemini AI-recommended questions will appear here..."
|
| 464 |
)
|
| 465 |
|