rahul7star commited on
Commit
436de17
·
verified ·
1 Parent(s): 3ccb5dd

Update app_quant.py

Browse files
Files changed (1) hide show
  1. app_quant.py +9 -0
app_quant.py CHANGED
@@ -188,6 +188,15 @@ def generate_audio_from_model(model_to_use, description, text, fname="tts.wav"):
188
  css = ".gradio-container {max-width: 1400px}"
189
  with gr.Blocks(title="NAVA — VEEN + LoRA + SNAC (Optimized)", css=css) as demo:
190
  gr.Markdown("# 🪶 NAVA — VEEN + LoRA + SNAC (Optimized)\nGenerate emotional Hindi speech using Maya1 base + your LoRA adapter.")
 
 
 
 
 
 
 
 
 
191
 
192
  with gr.Row():
193
  with gr.Column(scale=3):
 
188
  css = ".gradio-container {max-width: 1400px}"
189
  with gr.Blocks(title="NAVA — VEEN + LoRA + SNAC (Optimized)", css=css) as demo:
190
  gr.Markdown("# 🪶 NAVA — VEEN + LoRA + SNAC (Optimized)\nGenerate emotional Hindi speech using Maya1 base + your LoRA adapter.")
191
+ # -----------------------------
192
+ # Example section
193
+ # -----------------------------
194
+ gr.Markdown("### Example")
195
+ example_text = DEFAULT_TEXT
196
+ example_audio_path = "audio.wav"
197
+
198
+ gr.Textbox(label="Example Text", value=example_text, lines=2, interactive=False)
199
+ gr.Audio(label="Example Audio", value=example_audio_path, type="filepath", interactive=False)
200
 
201
  with gr.Row():
202
  with gr.Column(scale=3):