Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,21 @@ from langchain_openai import ChatOpenAI
|
|
6 |
from langchain_anthropic import ChatAnthropic
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
PROMPT = """
|
11 |
次の文を修正してください。
|
@@ -55,18 +70,4 @@ def main():
|
|
55 |
if __name__ == '__main__':
|
56 |
main()
|
57 |
|
58 |
-
|
59 |
-
st.markdown(
|
60 |
-
"""
|
61 |
-
<style>
|
62 |
-
/* Custom style adjustments */
|
63 |
-
.st-emotion-cache-15ecox0 { display: none !important; }
|
64 |
-
@media (max-width: 50.5rem) {
|
65 |
-
.st-emotion-cache-13ln4jf {
|
66 |
-
max-width: calc(0rem + 100vw);
|
67 |
-
}
|
68 |
-
}
|
69 |
-
</style>
|
70 |
-
""",
|
71 |
-
unsafe_allow_html=True,
|
72 |
-
)
|
|
|
6 |
from langchain_anthropic import ChatAnthropic
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
|
9 |
+
# Style adjustments (optional, remove if not needed)
|
10 |
+
st.markdown(
|
11 |
+
"""
|
12 |
+
<style>
|
13 |
+
/* Custom style adjustments */
|
14 |
+
.st-emotion-cache-15ecox0 { display: none !important; }
|
15 |
+
@media (max-width: 50.5rem) {
|
16 |
+
.st-emotion-cache-13ln4jf {
|
17 |
+
max-width: calc(0rem + 100vw);
|
18 |
+
}
|
19 |
+
}
|
20 |
+
</style>
|
21 |
+
""",
|
22 |
+
unsafe_allow_html=True,
|
23 |
+
)
|
24 |
|
25 |
PROMPT = """
|
26 |
次の文を修正してください。
|
|
|
70 |
if __name__ == '__main__':
|
71 |
main()
|
72 |
|
73 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|