QKJIN

Results 7 issues of QKJIN

I want to change a modelview column labels dynamic. I use a table to save the column labels. And in mymodelview class, I use a method to get them like...

I created a group model. Every user belong to the same group can see the records created by others. I can use the base_filters to let the user view these...

**Environment** Flask-Appbuilder version: 4.1.1 **Question** I write a function to judge whether user's roles includes Admin role. There are the code below. But this function always return true. ``` def...

I customize my own ListWidget with a template file where I add an action button like below. ```{% extends "appbuilder/general/widgets/list.html" %} {% block list_header %} {{ super() }} {% endblock...

I'm implement to add a column(or field) into a table in the runtime. And I have completed the function. But there is still a problem. After adding the new column...

Recently I use a custom form instead of FlaskForm. Then I found I must add csrf_token manually. But there is a problem. When I add to the template. I will...

环境:Ubuntu22.04, 64G, Nvidia P4 8G 模型对话:模型chatglm2-6b-int4,可以顺利对话,尽管回答的不是太准确,但是还过得去。 文档对话:存在2个问题 (1)上传的PDF文档,左边预览文档无法显示中文 (2)有些可以对话,有些就会出现GPU内存爆出,奇怪的是我用90页的中文论文进行对话没有爆显存,而用只有2页的英文PDF文章确出现爆显存。这个是怎么回事呢?