You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a typo on line 112, I believe it should be render_file (i have fixed that and gotten another error)
I have the program currently running in a HuggingFace private space, however after feeding an OpenAI key and uploading a PDF, any question is met with the please upload a key but you cannot continue further
To create a public link, set share=True in launch().
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1067, in call_function
prediction = await utils.async_iteration(iterator)
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 336, in async_iteration
return await iterator.anext()
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 329, in anext
return await anyio.to_thread.run_sync(
File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async
return next(iterator)
File "app.py", line 66, in generate_response
chain = process_file(btn)
File "app.py", line 45, in process_file
raise gr.Error('Upload your OpenAI API key')
gradio.exceptions.Error: 'Upload your OpenAI API key'
The text was updated successfully, but these errors were encountered:
There appears to be a typo on line 112, I believe it should be render_file (i have fixed that and gotten another error)
I have the program currently running in a HuggingFace private space, however after feeding an OpenAI key and uploading a PDF, any question is met with the please upload a key but you cannot continue further
To create a public link, set
share=True
inlaunch()
.Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1067, in call_function
prediction = await utils.async_iteration(iterator)
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 336, in async_iteration
return await iterator.anext()
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 329, in anext
return await anyio.to_thread.run_sync(
File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async
return next(iterator)
File "app.py", line 66, in generate_response
chain = process_file(btn)
File "app.py", line 45, in process_file
raise gr.Error('Upload your OpenAI API key')
gradio.exceptions.Error: 'Upload your OpenAI API key'
The text was updated successfully, but these errors were encountered: