I have a panel app that works fine on my local windows machine but when deployed to huggingface I get the follow error back trace:
===== Application Startup at 2023-11-08 12:46:36 =====
2023-11-08 12:47:35,208 Starting Bokeh server version 3.3.0 (running on Tornado 6.3.3)
2023-11-08 12:47:35,209 Host wildcard '*' will allow connections originating from multiple (or possibly all) hostnames or IPs. Use non-wildcard values to restrict access explicitly
2023-11-08 12:47:35,209 User authentication hooks NOT provided (default user enabled)
2023-11-08 12:47:35,211 Bokeh app running at: http://0.0.0.0:7860/real_panel
2023-11-08 12:47:35,211 Starting Bokeh server with process id: 1
2023-11-08 12:48:22.446 | INFO | feelings_and_needs.nycnvc.lists:<module>:415 - {'positive': [['affectionate', 'compassionate', 'fond', 'loving', 'openhearted', 'tender', 'warm'], ['absorbed', 'curious', 'enchanted', 'engaged', 'engrossed', 'enthralled', 'entranced', 'fascinated', 'interested', 'intrigued', 'involved', 'open', 'spellbound', 'stimulated'], ['amazed', 'ardent', 'aroused ', 'dazzled', 'energetic', 'enlivened', 'enthusiastic', 'excited', 'exuberant', 'invigorated', 'lively', 'passionate', 'surprised', 'vibrant'], ['electrified', 'enthralled', 'euphoric', 'exhilarated', 'overjoyed', 'radiant', 'thrilled'], ['appreciative', 'grateful', 'moved', 'thankful', 'touched'], ['amused', 'blissful', 'cheerful', 'delighted', 'ecstatic', 'elated', 'giddy', 'glad', 'happy', 'jolly', 'joyful', 'jubilant', 'merry', 'overjoyed', 'pleased', 'rapturous', 'tickled'], ['confident', 'expectant', 'hopeful', 'jazzed', 'lighthearted', 'sanguine', 'up', 'upbeat'], ['amazed', 'eager', 'enthused', 'inspired', 'motivated', 'moved', 'psyched', 'stimulated', 'stirred', 'wonder'], ['calm', 'centered', 'comfortable', 'content', 'equanimity', 'fulfilled', 'mellow', 'open', 'peaceful', 'quiet', 'relaxed', 'relieved', 'satisfied', 'serene', 'tranquil'], ['recharged', 'refreshed', 'rejuvenated', 'renewed', 'rested', 'restored', 'revived']], 'negative': [['aggravated', 'anger', 'angry', 'animosity', 'annoyed', 'contempt', 'disgruntled', 'enraged', 'exasperated', 'furious ', 'hate ', 'hostile', 'incensed', 'irate', 'irked', 'irritated', 'livid', 'miffed', 'nettled', 'outraged', 'peeved', 'resentful'], ['abhorrence', 'appalled', 'aversion', 'bothered ', 'disgust', 'dislike ', 'displeased', 'enmity', 'horrified', 'loathing', 'repulsion', 'revulsion'], ['ambivalent', 'baffled ', 'bewildered', 'conflicted', 'confusion', 'dazed', 'discombobulated', 'disoriented', 'mixed', 'mystified', 'perplexed puzzled', 'torn'], ['apathetic', 'bored', 'closed', 'detached', 'disconnection', 'distant', 'indifferent', 'listless', 'numb', 'withdrawn'], ['agitated', 'alarmed', 'concerned', 'disconcerted', 'dismayed', 'disquiet', 'distraught ', 'disturbed', 'frustrated', 'perturbed', 'rattled', 'restless', 'shocked', 'startled', 'surprised', 'troubled', 'turbulent', 'turmoil', 'uncomfortable', 'uneasy', 'unnerved', 'unsettled', 'upset'], ['ashamed', 'chagrined', 'discomfited', 'embarrassment', 'flustered', 'mortified', 'self-conscious'], [' worn-out', 'beat', 'burnt-out', 'depleted', 'exhausted', 'fatigue', 'listless', 'pooped', 'sleepy', 'tired', 'weary', 'wiped-out'], ['afraid', 'anxious', 'apprehensive', 'dread', 'fear', 'fearful', 'foreboding', 'frightened', 'guarded', 'insecure', 'leery', 'mistrustful', 'panicked', 'petrified', 'scared', 'shaky', 'terrified', 'trepidation', 'wary', 'worried'], ['aching', 'agony', 'anguished', 'devastated', 'grief', 'heartbroken', 'hungry', 'hurting', 'lonely', 'miserable', 'pain', 'regretful', 'remorseful'], ['dejected', 'depressed', 'despairing ', 'despondent', 'disappointed', 'discouraged', 'disheartened', 'forlorn', 'gloomy', 'heavy hearted', 'hopeless', 'melancholy', 'miserable', 'sadness', 'unhappy', 'wistful'], ['anxious', 'closed', 'distressed', 'edgy', 'fidgety', 'frazzled', 'frustrated ', 'jittery', 'nervous', 'overwhelmed', 'restless', 'stressed-out', 'tension'], ['longing', 'nostalgic', 'pining', 'yearning']]}
2023-11-08 12:48:22,531 Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x7f9a7e133d30>: FlexBox.__init__() got an unexpected keyword argument 'scroll'
File 'parameterized.py', line 1934, in _setup_params:
raise TypeError( Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bokeh/application/handlers/code_runner.py", line 229, in run
exec(self._code, module.__dict__)
File "/code/nvc4me/real_panel.py", line 158, in <module>
pn_row = pn.FlexBox(f'### {f.capitalize()} Feelings:', scroll=False).servable()
File "/usr/local/lib/python3.9/site-packages/panel/layout/flex.py", line 66, in __init__
super().__init__(objects=list(objects), **params)
File "/usr/local/lib/python3.9/site-packages/panel/reactive.py", line 1594, in __init__
super().__init__(**params)
File "/usr/local/lib/python3.9/site-packages/panel/reactive.py", line 556, in __init__
super().__init__(**params)
File "/usr/local/lib/python3.9/site-packages/panel/reactive.py", line 118, in __init__
super().__init__(**params)
File "/usr/local/lib/python3.9/site-packages/panel/viewable.py", line 694, in __init__
super().__init__(**params)
File "/usr/local/lib/python3.9/site-packages/panel/viewable.py", line 532, in __init__
super().__init__(**params)
File "/usr/local/lib/python3.9/site-packages/panel/viewable.py", line 298, in __init__
super().__init__(**params)
File "/usr/local/lib/python3.9/site-packages/param/parameterized.py", line 4148, in __init__
refs, deps = self.param._setup_params(**params)
File "/usr/local/lib/python3.9/site-packages/param/parameterized.py", line 1678, in override_initialization
ret = fn(self_, *args, **kw)
File "/usr/local/lib/python3.9/site-packages/param/parameterized.py", line 1934, in _setup_params
raise TypeError(
TypeError: FlexBox.__init__() got an unexpected keyword argument 'scroll'
2023-11-08 12:48:22,930 WebSocket connection opened
2023-11-08 12:48:22,931 ServerConnection created
2023-11-08 12:50:18,584 WebSocket connection closed: code=None, reason=None
the docker image is built with python 3.9 and the requirements.txt does not specify a particular version of panel:
panel
jupyter
transformers
numpy
torch
aiohttp
loguru