runtime error

cat instead. _mcf.append(_pains, sort=True)['smarts'].values] Traceback (most recent call last): File "/home/user/app/app.py", line 58, in <module> iface = gr.Interface( File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 491, in __init__ self.attach_submit_events(_submit_btn, _stop_btn) File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 725, in attach_submit_events on( File "/home/user/.local/lib/python3.10/site-packages/gradio/events.py", line 424, in on dep, dep_index = Context.root_block.set_event_trigger( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 883, in set_event_trigger check_function_inputs_match(fn, inputs, inputs_as_dict) File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 834, in check_function_inputs_match signature = inspect.signature(fn) File "/usr/local/lib/python3.10/inspect.py", line 3254, in signature return Signature.from_callable(obj, follow_wrapped=follow_wrapped, File "/usr/local/lib/python3.10/inspect.py", line 3002, in from_callable return _signature_from_callable(obj, sigcls=cls, File "/usr/local/lib/python3.10/inspect.py", line 2396, in _signature_from_callable raise TypeError('{!r} is not a callable object'.format(obj)) TypeError: EvaluationModule(name: "my_metric", module_type: "metric", features: {'generated_smiles': Value(dtype='string', id=None), 'train_smiles': Value(dtype='string', id=None)}, usage: """ Args: generated_smiles (`list` of `string`): A collection of SMILES (Simplified Molecular Input Line Entry System) strings generated by the model, ideally encompassing more than 30,000 samples. train_smiles (`list` of `string`): The dataset of SMILES strings used to train the model, serving as a reference to evaluate the novelty and diversity of the generated molecules. Returns: Dectionary item containing various metrics to evaluate model performance """, stored examples: 0) is not a callable object

Container logs:

Fetching error logs...