Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -139,7 +139,7 @@ def analyze(url):
|
|
| 139 |
yield script_content, gr.update(visible=True), gr.update(value="<div style='text-align: center; margin-top: 20px;'>μμ½ μμ± μ€...</div>", visible=True)
|
| 140 |
summary = summarize_text(title, description, script)
|
| 141 |
summary_content = display_summary(title, summary)
|
| 142 |
-
yield
|
| 143 |
|
| 144 |
# Gradio μΈν°νμ΄μ€
|
| 145 |
with gr.Blocks() as demo:
|
|
|
|
| 139 |
yield script_content, gr.update(visible=True), gr.update(value="<div style='text-align: center; margin-top: 20px;'>μμ½ μμ± μ€...</div>", visible=True)
|
| 140 |
summary = summarize_text(title, description, script)
|
| 141 |
summary_content = display_summary(title, summary)
|
| 142 |
+
yield gr.update(), gr.update(visible=True), gr.update(value=summary_content, visible=True)
|
| 143 |
|
| 144 |
# Gradio μΈν°νμ΄μ€
|
| 145 |
with gr.Blocks() as demo:
|