Spaces:
Runtime error
Duplicate Space run error
hxtvv 2023-04-13T02:56:33.150Z During handling of the above exception, another exception occurred:
hxtvv 2023-04-13T02:56:33.150Z
hxtvv 2023-04-13T02:56:33.150Z Traceback (most recent call last):
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/routes.py", line 393, in run_predict
hxtvv 2023-04-13T02:56:33.150Z output = await app.get_blocks().process_api(
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/blocks.py", line 1108, in process_api
hxtvv 2023-04-13T02:56:33.150Z result = await self.call_function(
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/blocks.py", line 915, in call_function
hxtvv 2023-04-13T02:56:33.150Z prediction = await anyio.to_thread.run_sync(
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
hxtvv 2023-04-13T02:56:33.150Z return await get_asynclib().run_sync_in_worker_thread(
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
hxtvv 2023-04-13T02:56:33.150Z return await future
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
hxtvv 2023-04-13T02:56:33.150Z result = context.run(func, *args)
hxtvv 2023-04-13T02:56:33.150Z File "app.py", line 183, in bot
hxtvv 2023-04-13T02:56:33.150Z return state["client"].bot(chatbot)
hxtvv 2023-04-13T02:56:33.150Z File "app.py", line 98, in bot
hxtvv 2023-04-13T02:56:33.150Z message, results = chat_huggingface(self.all_messages, self.OPENAI_KEY, self.HUGGINGFACE_TOKEN)
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/app/awesome_chat.py", line 875, in chat_huggingface
hxtvv 2023-04-13T02:56:33.150Z record_case(success=True, **{"input": input, "task": tasks, "reason": "task parsing fail: empty", "op": "chitchat"})
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/app/awesome_chat.py", line 214, in record_case
hxtvv 2023-04-13T02:56:33.150Z commit_url = repo.push_to_hub(blocking=True)
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/huggingface_hub/repository.py", line 1306, in push_to_hub
hxtvv 2023-04-13T02:56:33.150Z self.git_commit(commit_message)
hxtvv 2023-04-13T02:56:33.150Z File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/huggingface_hub/repository.py", line 1036, in git_commit
hxtvv 2023-04-13T02:56:33.150Z raise EnvironmentError(exc.stderr)
hxtvv 2023-04-13T02:56:33.150Z OSError:
hxtvv 2023-04-13T02:56:33.150Z *** Please tell me who you are.
hxtvv 2023-04-13T02:56:33.150Z
hxtvv 2023-04-13T02:56:33.150Z Run
hxtvv 2023-04-13T02:56:33.150Z
hxtvv 2023-04-13T02:56:33.150Z git config --global user.email "you@example.com"
hxtvv 2023-04-13T02:56:33.150Z git config --global user.name "Your Name"
hxtvv 2023-04-13T02:56:33.150Z
hxtvv 2023-04-13T02:56:33.150Z to set your account's default identity.
hxtvv 2023-04-13T02:56:33.150Z Omit --global to set the identity only in this repository.
hxtvv 2023-04-13T02:56:33.150Z
hxtvv 2023-04-13T02:56:33.150Z fatal: unable to auto-detect email address (got 'user@s-sfc01-hugginggpt02-c0407-796d5f79bf-hxtvv.(none)')
Can anyone help to solve this problemοΌ
@SFC01 Hi, we will fix it in the next commit.
HI,
Is there any update on this question?
Thanks
Hi, we have completed the update. You can try to duplicate the Space.
Note: Due to the instability of the Hugging Face inference service, the Space requires many models to be deployed and has a high hardware requirement.