Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def create_post(board_id, post_content):
|
|
71 |
return f"Error: Unable to create post - {str(e)}"
|
72 |
|
73 |
iface = gr.Interface(
|
74 |
-
fn=[api_call,create_post]
|
75 |
inputs=[gr.inputs.Textbox(label="Board ID"), gr.inputs.Textbox(label="Post Content")],
|
76 |
outputs=gr.outputs.Textbox(),
|
77 |
live=True,
|
|
|
71 |
return f"Error: Unable to create post - {str(e)}"
|
72 |
|
73 |
iface = gr.Interface(
|
74 |
+
fn=[api_call,create_post],
|
75 |
inputs=[gr.inputs.Textbox(label="Board ID"), gr.inputs.Textbox(label="Post Content")],
|
76 |
outputs=gr.outputs.Textbox(),
|
77 |
live=True,
|