Spaces:
Running
Running
Input a YouTube link and upload a reference document (e.g. policy paper, textbook, research article). The AI will download the video transcript, map it to key themes from the reference document, and generate a synchronized chat replay representing varied internet users (skeptics, hype, experts, etc.).
Browse files
app.py
CHANGED
|
@@ -293,9 +293,8 @@ with gr.Blocks(title="ReLiveStream - Interactive Replay", theme=custom_theme, cs
|
|
| 293 |
gr.Markdown(
|
| 294 |
"""
|
| 295 |
### Configure Your Custom Simulation
|
| 296 |
-
Input a YouTube link and upload a reference document
|
| 297 |
-
|
| 298 |
-
and generate a synchronized chat replay representing varied internet users (skeptics, hype, experts, etc.).
|
| 299 |
"""
|
| 300 |
)
|
| 301 |
|
|
@@ -308,10 +307,10 @@ with gr.Blocks(title="ReLiveStream - Interactive Replay", theme=custom_theme, cs
|
|
| 308 |
)
|
| 309 |
|
| 310 |
token_input = gr.Textbox(
|
| 311 |
-
label="Hugging Face Token (
|
| 312 |
placeholder="Leave blank to use default token...",
|
| 313 |
type="password",
|
| 314 |
-
info="Token used to
|
| 315 |
)
|
| 316 |
|
| 317 |
pdf_input = gr.File(
|
|
@@ -328,8 +327,8 @@ with gr.Blocks(title="ReLiveStream - Interactive Replay", theme=custom_theme, cs
|
|
| 328 |
|
| 329 |
with gr.Column(scale=1):
|
| 330 |
fallback_srt_input = gr.Textbox(
|
| 331 |
-
label="
|
| 332 |
-
placeholder="
|
| 333 |
lines=12
|
| 334 |
)
|
| 335 |
|
|
|
|
| 293 |
gr.Markdown(
|
| 294 |
"""
|
| 295 |
### Configure Your Custom Simulation
|
| 296 |
+
Input a YouTube link and upload a reference document
|
| 297 |
+
to generate a synchronized chat replay.
|
|
|
|
| 298 |
"""
|
| 299 |
)
|
| 300 |
|
|
|
|
| 307 |
)
|
| 308 |
|
| 309 |
token_input = gr.Textbox(
|
| 310 |
+
label="Hugging Face Token (Recommended)",
|
| 311 |
placeholder="Leave blank to use default token...",
|
| 312 |
type="password",
|
| 313 |
+
info="Token used to contact Inference Provider."
|
| 314 |
)
|
| 315 |
|
| 316 |
pdf_input = gr.File(
|
|
|
|
| 327 |
|
| 328 |
with gr.Column(scale=1):
|
| 329 |
fallback_srt_input = gr.Textbox(
|
| 330 |
+
label="Paste Captions (Recommended)",
|
| 331 |
+
placeholder="Caption auto-fetch may fail; paste timestamped subtitles here",
|
| 332 |
lines=12
|
| 333 |
)
|
| 334 |
|