Spaces:
Sleeping
Sleeping
weiwei1392
commited on
Commit
·
414f1c4
1
Parent(s):
d8132e8
修改requirement
Browse files- .idea/.gitignore +3 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +4 -0
- .idea/modules.xml +8 -0
- .idea/question_generate.iml +13 -0
- .idea/vcs.xml +6 -0
- __pycache__/config.cpython-39.pyc +0 -0
- __pycache__/llm.cpython-39.pyc +0 -0
- __pycache__/prompt.cpython-39.pyc +0 -0
- __pycache__/question.cpython-39.pyc +0 -0
- webui.py → app.py +0 -2
- requirements.txt +4 -1
.idea/.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<settings>
|
3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
+
<version value="1.0" />
|
5 |
+
</settings>
|
6 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (ElementaryAdaptiveLearning)" project-jdk-type="Python SDK" />
|
4 |
+
</project>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/question_generate.iml" filepath="$PROJECT_DIR$/.idea/question_generate.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/question_generate.iml
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="PYTHON_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$">
|
5 |
+
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
6 |
+
</content>
|
7 |
+
<orderEntry type="jdk" jdkName="Python 3.9 (ElementaryAdaptiveLearning)" jdkType="Python SDK" />
|
8 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
9 |
+
</component>
|
10 |
+
<component name="PackageRequirementsSettings">
|
11 |
+
<option name="removeUnused" value="true" />
|
12 |
+
</component>
|
13 |
+
</module>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
__pycache__/config.cpython-39.pyc
ADDED
Binary file (1.25 kB). View file
|
|
__pycache__/llm.cpython-39.pyc
ADDED
Binary file (4.2 kB). View file
|
|
__pycache__/prompt.cpython-39.pyc
ADDED
Binary file (2.23 kB). View file
|
|
__pycache__/question.cpython-39.pyc
ADDED
Binary file (15 kB). View file
|
|
webui.py → app.py
RENAMED
@@ -2,8 +2,6 @@ import gradio as gr
|
|
2 |
import pandas as pd
|
3 |
from llm import OpenAI3, OpenAI4
|
4 |
from question import generate
|
5 |
-
from app.reading_comprehension import text_generate, files_generate
|
6 |
-
from app.correct_assay import text_correct, files_correct
|
7 |
|
8 |
block_css = """
|
9 |
.importantButton {
|
|
|
2 |
import pandas as pd
|
3 |
from llm import OpenAI3, OpenAI4
|
4 |
from question import generate
|
|
|
|
|
5 |
|
6 |
block_css = """
|
7 |
.importantButton {
|
requirements.txt
CHANGED
@@ -1 +1,4 @@
|
|
1 |
-
requests~=2.28.2
|
|
|
|
|
|
|
|
1 |
+
requests~=2.28.2
|
2 |
+
gradio~=3.27.0
|
3 |
+
pandas~=1.5.3
|
4 |
+
translate~=3.6.1
|