We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello!
python app.py says:
python app.py /home/pai/text-generation-webui/Zephyr-7B-beta-RAG-Demo/.conda/lib/python3.10/site-packages/langchain/__init__.py:34: UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain.prompts.PromptTemplate instead. warnings.warn( /home/pai/text-generation-webui/Zephyr-7B-beta-RAG-Demo/.conda/lib/python3.10/site-packages/langchain/__init__.py:34: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead. warnings.warn( LLM Initialized... ###################################################################### Traceback (most recent call last): File "/home/pai/text-generation-webui/Zephyr-7B-beta-RAG-Demo/app.py", line 96, in <module> iface = gr.Interface(fn=get_response, File "/home/pai/text-generation-webui/Zephyr-7B-beta-RAG-Demo/.conda/lib/python3.10/site-packages/gradio/interface.py", line 146, in __init__ super().__init__( File "/home/pai/text-generation-webui/Zephyr-7B-beta-RAG-Demo/.conda/lib/python3.10/site-packages/gradio/blocks.py", line 542, in __init__ super().__init__(render=False, **kwargs) TypeError: BlockContext.__init__() got an unexpected keyword argument 'allow_screenshot'
I have just commented this line '#allow_screenshot=False' on app.py and it worked
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hello!
python app.py says:
I have just commented this line '#allow_screenshot=False' on app.py and it worked
The text was updated successfully, but these errors were encountered: