Spaces:
Runtime error
Runtime error
remove empty lines
Browse files
app.py
CHANGED
@@ -3,12 +3,10 @@ import json
|
|
3 |
import os
|
4 |
import openai
|
5 |
|
6 |
-
INIT_PROMPT = """
|
7 |
-
I would like to engage your services as an academic writing consultant to improve my writing.
|
8 |
I will provide you with text that requires refinement, and you will enhance it with more academic language and sentence structures.
|
9 |
The essence of the text should remain unaltered, including any LaTeX commands.
|
10 |
-
I request that you provide only the improved version of the text without any further explanations.
|
11 |
-
"""
|
12 |
|
13 |
PREFIX_PROMPT = "Please refine the following text in academic English:"
|
14 |
|
|
|
3 |
import os
|
4 |
import openai
|
5 |
|
6 |
+
INIT_PROMPT = """I would like to engage your services as an academic writing consultant to improve my writing.
|
|
|
7 |
I will provide you with text that requires refinement, and you will enhance it with more academic language and sentence structures.
|
8 |
The essence of the text should remain unaltered, including any LaTeX commands.
|
9 |
+
I request that you provide only the improved version of the text without any further explanations."""
|
|
|
10 |
|
11 |
PREFIX_PROMPT = "Please refine the following text in academic English:"
|
12 |
|