Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,7 +176,7 @@ with gr.Blocks() as demo:
|
|
| 176 |
submit = gr.Button("Classify")
|
| 177 |
|
| 178 |
# Define the interaction between inputs and outputs
|
| 179 |
-
submit.click(fn=
|
| 180 |
|
| 181 |
# Add the `if __name__ == "__main__":` block to launch the interface
|
| 182 |
if __name__ == "__main__":
|
|
|
|
| 176 |
submit = gr.Button("Classify")
|
| 177 |
|
| 178 |
# Define the interaction between inputs and outputs
|
| 179 |
+
submit.click(fn=summarize_url, inputs=prompt, outputs=output_text)
|
| 180 |
|
| 181 |
# Add the `if __name__ == "__main__":` block to launch the interface
|
| 182 |
if __name__ == "__main__":
|