runtime error
Space failed to start. Exit code: 1. Reason: 0%|██████████| 302M/302M [00:03<00:00, 75.7MB/s] /home/user/.local/lib/python3.8/site-packages/gradio/interface.py:316: UserWarning: Currently, only the 'default' theme is supported. warnings.warn("Currently, only the 'default' theme is supported.") IMPORTANT: You are using gradio version 3.1.4, however version 3.14.0 is available, please upgrade. -------- Caching examples at: '/home/user/app/gradio_cached_examples/13/log.csv' Traceback (most recent call last): File "app.py", line 37, in <module> iface = gr.Interface(fn=translate, inputs="text",outputs=gr.Gallery(), examples=exp) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 602, in __init__ self.examples_handler = Examples( File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 155, in __init__ self.cache_interface_examples() File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 190, in cache_interface_examples raise e File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 186, in cache_interface_examples prediction = self.process_example(example_id) File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 206, in process_example predictions = self.fn(*processed_input) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 489, in <lambda> lambda *args: self.run_prediction(args)[0] File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 669, in run_prediction prediction = self.fn(*processed_input) File "app.py", line 16, in translate outputs = model.generate( File "/home/user/.local/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/transformers/generation/utils.py", line 1346, in generate (generation_config.num_beams > 1) TypeError: '>' not supported between instances of 'NoneType' and 'int'
Container logs:
Fetching error logs...