rahul7star commited on
Commit
90c8525
·
verified ·
1 Parent(s): 08a95f3

Update app_quant.py

Browse files
Files changed (1) hide show
  1. app_quant.py +11 -0
app_quant.py CHANGED
@@ -188,5 +188,16 @@ with gr.Blocks() as demo:
188
  logs_box = gr.Textbox(label="Logs", lines=10)
189
  btn.click(generate_audio_cpu_lora, [txt], [audio, file, logs_box])
190
 
 
 
 
 
 
 
 
 
 
 
 
191
  if __name__ == "__main__":
192
  demo.launch()
 
188
  logs_box = gr.Textbox(label="Logs", lines=10)
189
  btn.click(generate_audio_cpu_lora, [txt], [audio, file, logs_box])
190
 
191
+
192
+ # -----------------------------
193
+ # Example section
194
+ # -----------------------------
195
+ gr.Markdown("### Example")
196
+ example_text = DEFAULT_TEXT
197
+ example_audio_path = "audio.wav"
198
+
199
+ gr.Textbox(label="Example Text", value=example_text, lines=2, interactive=False)
200
+ gr.Audio(label="Example Audio", value=example_audio_path, type="filepath", interactive=False)
201
+
202
  if __name__ == "__main__":
203
  demo.launch()