Chawit Chaijirawiwat commited on
Commit
42ebff1
·
1 Parent(s): 4b01214

add more example to gradio app

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -26,7 +26,10 @@ def gradio_app():
26
  submit_btn = gr.Button("Submit")
27
 
28
  # Example inputs
29
- examples = [['https://www.youtube.com/watch?v=wDVteayWWvU', 'about Q learning using neural network which is good in case of milliions of possible states like chess game']]
 
 
 
30
 
31
  # Define the action on submit
32
  submit_btn.click(fn=langchain_retrieval_invoke, inputs=[video_ids, content], outputs=[url_output, summary_output])
 
26
  submit_btn = gr.Button("Submit")
27
 
28
  # Example inputs
29
+ examples = [['https://www.youtube.com/watch?v=wDVteayWWvU', 'Q learning using neural network which is good in case of milliions of possible states like chess game'],
30
+ ['https://www.youtube.com/watch?v=00jbG_cfGuQ, https://www.youtube.com/watch?v=sQK3Yr4Sc_k', 'Krebs cycle'],
31
+ ['https://www.youtube.com/watch?v=62wEk02YKs0', 'how caffaine actaully works']
32
+ ]
33
 
34
  # Define the action on submit
35
  submit_btn.click(fn=langchain_retrieval_invoke, inputs=[video_ids, content], outputs=[url_output, summary_output])