Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,10 +23,10 @@ with demo:
|
|
23 |
label = gr.Label()
|
24 |
|
25 |
|
26 |
-
|
27 |
|
28 |
|
29 |
-
|
30 |
|
31 |
if __name__ == "__main__":
|
32 |
demo.launch()
|
|
|
23 |
label = gr.Label()
|
24 |
|
25 |
|
26 |
+
b1 = gr.Button("Classify URL")
|
27 |
|
28 |
|
29 |
+
b1.click(text_to_url, inputs=text, outputs=label)
|
30 |
|
31 |
if __name__ == "__main__":
|
32 |
demo.launch()
|