Tonic commited on
Commit
92faf63
1 Parent(s): 78f1c33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ df = pd.read_csv("lang_list.csv")
31
  choices = df["name"].to_list()
32
  inputlanguage = ""
33
  producetext = "\n\nProduce a complete expositional blog post in {target_language} based on the above :"
34
- formatinputstring = "\n\nthe above text is a learning aid. you must use rich text format to rewrite the above and add 1 . a red color tags for nouns 2. a blue color tag for verbs 3. a green color tag for adjectives and adverbs: Example: <span style="color: red;">(.?)</span>. Don't change other format of span tag other than color and the (.?)."
35
  translatetextinst = "\n\nthe above text is a learning aid. you must use markdown format to translate the above into {inputlanguage} :'"
36
  patterns = {
37
  "red": r'<span style="color: red;">(.*?)</span>',
 
31
  choices = df["name"].to_list()
32
  inputlanguage = ""
33
  producetext = "\n\nProduce a complete expositional blog post in {target_language} based on the above :"
34
+ formatinputstring = """\n\nthe above text is a learning aid. you must use rich text format to rewrite the above and add 1 . a red color tags for nouns 2. a blue color tag for verbs 3. a green color tag for adjectives and adverbs: Example: <span style="color: red;">(.?)</span>. Don't change other format of span tag other than color and the (.?). """
35
  translatetextinst = "\n\nthe above text is a learning aid. you must use markdown format to translate the above into {inputlanguage} :'"
36
  patterns = {
37
  "red": r'<span style="color: red;">(.*?)</span>',