Update app.py
Browse files
app.py
CHANGED
@@ -5,11 +5,11 @@ import os
|
|
5 |
import fileinput
|
6 |
from dotenv import load_dotenv
|
7 |
|
8 |
-
title="
|
9 |
-
inputs_label="
|
10 |
-
outputs_label="
|
11 |
description="""
|
12 |
-
-
|
13 |
"""
|
14 |
|
15 |
article = """
|
@@ -73,9 +73,12 @@ class NajiminoAI:
|
|
73 |
def generate_emo_prompt(cls, user_message):
|
74 |
template = get_filetext(filename="template.md")
|
75 |
prompt = f"""
|
|
|
|
|
|
|
76 |
{user_message}
|
77 |
---
|
78 |
-
|
79 |
---
|
80 |
{template}
|
81 |
"""
|
|
|
5 |
import fileinput
|
6 |
from dotenv import load_dotenv
|
7 |
|
8 |
+
title="Abstract Language Object Generator"
|
9 |
+
inputs_label="Input Object"
|
10 |
+
outputs_label="ALOs"
|
11 |
description="""
|
12 |
+
- ※up to 1000 character it takes 120 sec for generation. Because of API.
|
13 |
"""
|
14 |
|
15 |
article = """
|
|
|
73 |
def generate_emo_prompt(cls, user_message):
|
74 |
template = get_filetext(filename="template.md")
|
75 |
prompt = f"""
|
76 |
+
---
|
77 |
+
INPUT =
|
78 |
+
---
|
79 |
{user_message}
|
80 |
---
|
81 |
+
ALOs(INPUT)
|
82 |
---
|
83 |
{template}
|
84 |
"""
|