ToolGood

Results 58 comments of ToolGood

我看一下,可以加一个try

``` C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\components.py:148: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}") ```

``` Traceback (most recent call last): File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\routes.py", line 337, in run_predict output = await app.get_blocks().process_api( File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1015, in process_api result = await self.call_function( File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 833,...

的确,可惜。。 ``` 用户:以玉兰花,春天为主题,写一首七言绝句 ChatGLM-6B:玉兰花谢春风懒, 绿叶婆娑映眼羞。 寂寞深闺人未识, 春来才展艳丽姿。 用户:父亲与母亲能结婚吗? ChatGLM-6B:在某些文化和宗教传统中,父亲与母亲可以结婚,这并不是一个普遍的事实。 在一些社会中,男性和女性在婚姻中被视为平等的伴侣,并且可以结婚或建立家庭。 然而,在现代社会中,大多数人认为婚姻是一种社会契约,需要遵守特定的法律和道德规范, 而父母与子女之间的婚姻关系通常被视为不道德或不合适。因此,父亲和母亲通常不会结婚。 ```

You have misunderstood that my project uses more methods in the ParserRuleContext class, so it will speed up.

You can take a look at the IL of GetRuleContexts() of the ParserRuleContext class. old, core 28 rows, 2 `unbox.any !!T` ``` il /* 0x00005944 2B2E */ IL_001C: br.s IL_004C...

Original code ``` C# public virtual T[] GetRuleContexts() where T : Antlr4.Runtime.ParserRuleContext { if (children == null) { return Collections.EmptyList(); } List contexts = null; foreach (IParseTree o in children)...