Spaces:
Runtime error
Runtime error
Commit ·
56e215e
1
Parent(s): 167a25a
adding you tube processing LLM
Browse files
app.py
CHANGED
|
@@ -85,9 +85,7 @@ title = """
|
|
| 85 |
</div>
|
| 86 |
"""
|
| 87 |
|
| 88 |
-
|
| 89 |
-
with gr.Blocks(
|
| 90 |
-
css="""#chatbot {font-size: 14px;min-height: 300px;}""") as demo:
|
| 91 |
with gr.Column(elem_id="col-container"):
|
| 92 |
gr.HTML(title)
|
| 93 |
|
|
@@ -131,10 +129,9 @@ with gr.Blocks(
|
|
| 131 |
with gr.Column():
|
| 132 |
with gr.Box():
|
| 133 |
load_youtube_bt = gr.Button("Process Youtube Link",).style(full_width = False)
|
| 134 |
-
langchain_status = gr.Textbox(label="Status", placeholder="", interactive = False)
|
| 135 |
-
|
| 136 |
|
|
|
|
| 137 |
clean_chat_btn.click(clear_chat, [], chatbot)
|
| 138 |
|
| 139 |
-
|
| 140 |
demo.launch()
|
|
|
|
| 85 |
</div>
|
| 86 |
"""
|
| 87 |
|
| 88 |
+
with gr.Blocks(css="""#chatbot {font-size: 14px;min-height: 300px;}""") as demo:
|
|
|
|
|
|
|
| 89 |
with gr.Column(elem_id="col-container"):
|
| 90 |
gr.HTML(title)
|
| 91 |
|
|
|
|
| 129 |
with gr.Column():
|
| 130 |
with gr.Box():
|
| 131 |
load_youtube_bt = gr.Button("Process Youtube Link",).style(full_width = False)
|
| 132 |
+
# langchain_status = gr.Textbox(label="Status", placeholder="", interactive = False)
|
|
|
|
| 133 |
|
| 134 |
+
load_pdf.click(document_loader,inputs=)
|
| 135 |
clean_chat_btn.click(clear_chat, [], chatbot)
|
| 136 |
|
|
|
|
| 137 |
demo.launch()
|