rmdhirr commited on
Commit
4f3503a
1 Parent(s): f7c7dc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,8 +92,8 @@ def api_handler(url, html):
92
  # Create Gradio Interface for API
93
  interface = gr.Interface(
94
  fn=api_handler,
95
- inputs=[gr.inputs.Textbox(default=None, placeholder="URL"), gr.inputs.Textbox(default=None, placeholder="HTML content")],
96
- outputs=gr.outputs.JSON(),
97
  live=False # No need for live updates
98
  )
99
 
 
92
  # Create Gradio Interface for API
93
  interface = gr.Interface(
94
  fn=api_handler,
95
+ inputs=[gr.Textbox(label="URL"), gr.Textbox(label="HTML content", lines=10)],
96
+ outputs=gr.JSON(),
97
  live=False # No need for live updates
98
  )
99