bhavyagiri commited on
Commit
36dac70
1 Parent(s): 2dd6eeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,15 +51,15 @@ with gr.Blocks() as demo:
51
  gr.Markdown("<h1><center>Youtube-QA</center></h1>")
52
  gr.Markdown("<h3>Ask questions from youtube video, it takes sometime to run so grabbing a coffee is a good option ☕️</h3>")
53
  gr.Markdown("""
54
- Youtube-audio --> openai-whisper --> Trascription + Query --> QA-model --> Answer
55
  """)
56
  with gr.Row():
57
  with gr.Column():
58
  in_yt = gr.inputs.Textbox(lines=1, placeholder="Enter Youtube URL", label="YouTube URL")
59
- transcribe_btn = gr.Button("Trascribe")
60
  with gr.Column():
61
  out_yt_html = gr.outputs.HTML()
62
- out_yt_text = gr.Textbox(label="Transciption")
63
  with gr.Column():
64
  in_query = gr.Textbox(lines=1, placeholder="What's your Question", label="Query")
65
  ans_btn = gr.Button("Answer")
 
51
  gr.Markdown("<h1><center>Youtube-QA</center></h1>")
52
  gr.Markdown("<h3>Ask questions from youtube video, it takes sometime to run so grabbing a coffee is a good option ☕️</h3>")
53
  gr.Markdown("""
54
+ Youtube-audio --> openai-whisper --> Transcription + Query --> QA-model --> Answer
55
  """)
56
  with gr.Row():
57
  with gr.Column():
58
  in_yt = gr.inputs.Textbox(lines=1, placeholder="Enter Youtube URL", label="YouTube URL")
59
+ transcribe_btn = gr.Button("Transcribe")
60
  with gr.Column():
61
  out_yt_html = gr.outputs.HTML()
62
+ out_yt_text = gr.Textbox(label="Transcription")
63
  with gr.Column():
64
  in_query = gr.Textbox(lines=1, placeholder="What's your Question", label="Query")
65
  ans_btn = gr.Button("Answer")