Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,12 +11,13 @@ def parse(link):
|
|
| 11 |
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
link = gr.Textbox(label="Bağlantı")
|
|
|
|
| 14 |
output1 = gr.Textbox( label="Başlık")
|
| 15 |
output2 = gr.Textbox(label="Açıklama")
|
| 16 |
output3 = gr.Textbox(label="Görsel")
|
| 17 |
output4 = gr.Textbox(label="Metadata")
|
| 18 |
|
| 19 |
-
|
| 20 |
greet_btn.click(fn=parse, inputs=link, outputs=[output1,output2, output3, output4])
|
| 21 |
|
| 22 |
demo.launch()
|
|
|
|
| 11 |
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
link = gr.Textbox(label="Bağlantı")
|
| 14 |
+
greet_btn = gr.Button("Gönder")
|
| 15 |
output1 = gr.Textbox( label="Başlık")
|
| 16 |
output2 = gr.Textbox(label="Açıklama")
|
| 17 |
output3 = gr.Textbox(label="Görsel")
|
| 18 |
output4 = gr.Textbox(label="Metadata")
|
| 19 |
|
| 20 |
+
|
| 21 |
greet_btn.click(fn=parse, inputs=link, outputs=[output1,output2, output3, output4])
|
| 22 |
|
| 23 |
demo.launch()
|