Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -372,8 +372,7 @@ def create_interface():
|
|
372 |
.success { background-color: #d4edda; color: #155724; padding: 10px; border-radius: 4px; }
|
373 |
"""
|
374 |
|
375 |
-
with gr.Blocks(css=css, title
|
376 |
-
="Advanced Data Processor & QR Generator") as interface:
|
377 |
gr.Markdown("# π Advanced Data Processing & QR Code Generator")
|
378 |
|
379 |
with gr.Tab("URL Processing"):
|
@@ -515,8 +514,7 @@ def create_interface():
|
|
515 |
return None, [], f"β Error: {str(e)}"
|
516 |
|
517 |
# Set up event handlers
|
518 |
-
example_btn.click(
|
519 |
-
_example, outputs=[text_input])
|
520 |
clear_btn.click(clear_input, outputs=[text_input])
|
521 |
process_btn.click(
|
522 |
process_all_inputs,
|
|
|
372 |
.success { background-color: #d4edda; color: #155724; padding: 10px; border-radius: 4px; }
|
373 |
"""
|
374 |
|
375 |
+
with gr.Blocks(css=css, title="Advanced Data Processor & QR Generator") as interface:
|
|
|
376 |
gr.Markdown("# π Advanced Data Processing & QR Code Generator")
|
377 |
|
378 |
with gr.Tab("URL Processing"):
|
|
|
514 |
return None, [], f"β Error: {str(e)}"
|
515 |
|
516 |
# Set up event handlers
|
517 |
+
example_btn.click(load_example, outputs=[text_input])
|
|
|
518 |
clear_btn.click(clear_input, outputs=[text_input])
|
519 |
process_btn.click(
|
520 |
process_all_inputs,
|