Spaces:
Sleeping
Sleeping
Samarth991
commited on
Commit
·
d0bf7dc
1
Parent(s):
8601dca
adding you tube processing LLM
Browse files
app.py
CHANGED
@@ -113,14 +113,10 @@ css="""
|
|
113 |
title = """
|
114 |
<div style="text-align: center;max-width: 700px;">
|
115 |
<h1>Chat with You Tube videos• OpenAI/HuggingFace</h1>
|
116 |
-
<p style="text-align: center;">Upload a You tube Link, to create its captions and load them as embeddings <br />
|
117 |
-
once status is ready, you can start asking questions about the content you uploaded.<br />
|
118 |
-
The repo provides you an option to use HuggingFace/OpenAI as LLM's, make sure to add your API Key before proceding.
|
119 |
-
</p>
|
120 |
</div>
|
121 |
"""
|
122 |
|
123 |
-
with gr.Blocks(css=
|
124 |
with gr.Column(elem_id="col-container"):
|
125 |
gr.HTML(title)
|
126 |
|
|
|
113 |
title = """
|
114 |
<div style="text-align: center;max-width: 700px;">
|
115 |
<h1>Chat with You Tube videos• OpenAI/HuggingFace</h1>
|
|
|
|
|
|
|
|
|
116 |
</div>
|
117 |
"""
|
118 |
|
119 |
+
with gr.Blocks(css=css) as demo:
|
120 |
with gr.Column(elem_id="col-container"):
|
121 |
gr.HTML(title)
|
122 |
|