karshreya98
commited on
Commit
·
1865ee4
1
Parent(s):
d348ade
resolving merge conflicts
Browse files- .idea/.gitignore +0 -3
- .idea/inspectionProfiles/profiles_settings.xml +0 -6
- .idea/misc.xml +0 -4
- .idea/modules.xml +0 -8
- .idea/search_mlReply.iml +0 -10
- .idea/vcs.xml +0 -6
- .idea/workspace.xml +105 -0
- utils/ui.py +1 -1
.idea/.gitignore
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
# Default ignored files
|
2 |
-
/shelf/
|
3 |
-
/workspace.xml
|
|
|
|
|
|
|
|
.idea/inspectionProfiles/profiles_settings.xml
DELETED
@@ -1,6 +0,0 @@
|
|
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
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (search_mlReply)" project-jdk-type="Python SDK" />
|
4 |
-
</project>
|
|
|
|
|
|
|
|
|
|
.idea/modules.xml
DELETED
@@ -1,8 +0,0 @@
|
|
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/search_mlReply.iml" filepath="$PROJECT_DIR$/.idea/search_mlReply.iml" />
|
6 |
-
</modules>
|
7 |
-
</component>
|
8 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/search_mlReply.iml
DELETED
@@ -1,10 +0,0 @@
|
|
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="inheritedJdk" />
|
8 |
-
<orderEntry type="sourceFolder" forTests="false" />
|
9 |
-
</component>
|
10 |
-
</module>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/vcs.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="VcsDirectoryMappings">
|
4 |
-
<mapping directory="" vcs="Git" />
|
5 |
-
</component>
|
6 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/workspace.xml
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="AutoImportSettings">
|
4 |
+
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
+
</component>
|
6 |
+
<component name="ChangeListManager">
|
7 |
+
<list default="true" id="eadc4f1e-a4d9-4063-a50a-4c26a0c918d1" name="Changes" comment="">
|
8 |
+
<change beforePath="$PROJECT_DIR$/utils/ui.py" beforeDir="false" afterPath="$PROJECT_DIR$/utils/ui.py" afterDir="false" />
|
9 |
+
</list>
|
10 |
+
<option name="SHOW_DIALOG" value="false" />
|
11 |
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
12 |
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
13 |
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
14 |
+
</component>
|
15 |
+
<component name="Git.Settings">
|
16 |
+
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
17 |
+
<map>
|
18 |
+
<entry key="$PROJECT_DIR$" value="master" />
|
19 |
+
</map>
|
20 |
+
</option>
|
21 |
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
22 |
+
</component>
|
23 |
+
<component name="HighlightingSettingsPerFile">
|
24 |
+
<setting file="file://$PROJECT_DIR$/utils/haystack.py" root0="FORCE_HIGHLIGHTING" />
|
25 |
+
</component>
|
26 |
+
<component name="MarkdownSettingsMigration">
|
27 |
+
<option name="stateVersion" value="1" />
|
28 |
+
</component>
|
29 |
+
<component name="ProjectId" id="2WqPnkr5FcoVvPmoP1XPHt8OfH0" />
|
30 |
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
31 |
+
<component name="ProjectViewState">
|
32 |
+
<option name="hideEmptyMiddlePackages" value="true" />
|
33 |
+
<option name="showLibraryContents" value="true" />
|
34 |
+
</component>
|
35 |
+
<component name="PropertiesComponent">{
|
36 |
+
"keyToString": {
|
37 |
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
38 |
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
39 |
+
"last_opened_file_path": "/Users/s.kar/PycharmProjects/search_mlReply/utils",
|
40 |
+
"settings.editor.selected.configurable": "configurable.group.project"
|
41 |
+
}
|
42 |
+
}</component>
|
43 |
+
<component name="RecentsManager">
|
44 |
+
<key name="CopyFile.RECENT_KEYS">
|
45 |
+
<recent name="$PROJECT_DIR$/utils" />
|
46 |
+
</key>
|
47 |
+
</component>
|
48 |
+
<component name="RunManager">
|
49 |
+
<configuration name="app" type="PythonConfigurationType" factoryName="Python">
|
50 |
+
<module name="search_mlReply" />
|
51 |
+
<option name="INTERPRETER_OPTIONS" value="" />
|
52 |
+
<option name="PARENT_ENVS" value="true" />
|
53 |
+
<envs>
|
54 |
+
<env name="PYTHONUNBUFFERED" value="1" />
|
55 |
+
<env name="OPENAI_KEY" value="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" />
|
56 |
+
</envs>
|
57 |
+
<option name="SDK_HOME" value="$PROJECT_DIR$/venv/bin/python" />
|
58 |
+
<option name="SDK_NAME" value="Python 3.8 (search_mlReply)" />
|
59 |
+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
60 |
+
<option name="IS_MODULE_SDK" value="false" />
|
61 |
+
<option name="ADD_CONTENT_ROOTS" value="true" />
|
62 |
+
<option name="ADD_SOURCE_ROOTS" value="true" />
|
63 |
+
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/venv/lib/python3.8/site-packages/streamlit" />
|
64 |
+
<option name="PARAMETERS" value="run app.py -- --name "Document Insights: Extractive & Generative Methods"" />
|
65 |
+
<option name="SHOW_COMMAND_LINE" value="false" />
|
66 |
+
<option name="EMULATE_TERMINAL" value="false" />
|
67 |
+
<option name="MODULE_MODE" value="false" />
|
68 |
+
<option name="REDIRECT_INPUT" value="false" />
|
69 |
+
<option name="INPUT_FILE" value="" />
|
70 |
+
<method v="2" />
|
71 |
+
</configuration>
|
72 |
+
</component>
|
73 |
+
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
74 |
+
<component name="TaskManager">
|
75 |
+
<task active="true" id="Default" summary="Default task">
|
76 |
+
<changelist id="eadc4f1e-a4d9-4063-a50a-4c26a0c918d1" name="Changes" comment="" />
|
77 |
+
<created>1697457305392</created>
|
78 |
+
<option name="number" value="Default" />
|
79 |
+
<option name="presentableId" value="Default" />
|
80 |
+
<updated>1697457305392</updated>
|
81 |
+
</task>
|
82 |
+
<servers />
|
83 |
+
</component>
|
84 |
+
<component name="XDebuggerManager">
|
85 |
+
<breakpoint-manager>
|
86 |
+
<breakpoints>
|
87 |
+
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
|
88 |
+
<url>file://$PROJECT_DIR$/app.py</url>
|
89 |
+
<line>138</line>
|
90 |
+
<option name="timeStamp" value="5" />
|
91 |
+
</line-breakpoint>
|
92 |
+
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
|
93 |
+
<url>file://$PROJECT_DIR$/app.py</url>
|
94 |
+
<line>97</line>
|
95 |
+
<option name="timeStamp" value="6" />
|
96 |
+
</line-breakpoint>
|
97 |
+
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
|
98 |
+
<url>file://$PROJECT_DIR$/app.py</url>
|
99 |
+
<line>36</line>
|
100 |
+
<option name="timeStamp" value="7" />
|
101 |
+
</line-breakpoint>
|
102 |
+
</breakpoints>
|
103 |
+
</breakpoint-manager>
|
104 |
+
</component>
|
105 |
+
</project>
|
utils/ui.py
CHANGED
@@ -12,5 +12,5 @@ def set_initial_state():
|
|
12 |
|
13 |
def reset_results(*args):
|
14 |
st.session_state.results_extractive = None
|
15 |
-
st.session_state.results_generative = None
|
16 |
st.session_state.task = None
|
|
|
12 |
|
13 |
def reset_results(*args):
|
14 |
st.session_state.results_extractive = None
|
15 |
+
st.session_state.results_generative = None
|
16 |
st.session_state.task = None
|