Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -201,9 +201,9 @@ if research_button and topic:
|
|
| 201 |
for m in merged
|
| 202 |
])
|
| 203 |
length_instruction = {
|
| 204 |
-
"Summary": "Keep it short and focused under
|
| 205 |
-
"Detailed Report": "Around
|
| 206 |
-
"Thorough Academic Research": "Over
|
| 207 |
}[report_type]
|
| 208 |
|
| 209 |
prompt = f"""
|
|
@@ -212,10 +212,10 @@ if research_button and topic:
|
|
| 212 |
Your task is to write a {report_type.lower()} in a {tone.lower()} tone.
|
| 213 |
|
| 214 |
🔍 Use the following structure:
|
| 215 |
-
1. Chronological Mapping: based on provided timeline.
|
| 216 |
2. Gap Identification: what is missing.
|
| 217 |
-
3. Novel Contribution: suggest improvements
|
| 218 |
-
4. Structured Report: headings, clarity
|
| 219 |
|
| 220 |
✂️ Writing Instruction:
|
| 221 |
{length_instruction}
|
|
|
|
| 201 |
for m in merged
|
| 202 |
])
|
| 203 |
length_instruction = {
|
| 204 |
+
"Summary": "Keep it short and focused under 500 words.",
|
| 205 |
+
"Detailed Report": "Around 1000+ words with gaps and suggestions.",
|
| 206 |
+
"Thorough Academic Research": "Over 5000+ words, full academic LIKE A RESEARCH PAPER FORMAT OF IEEE"
|
| 207 |
}[report_type]
|
| 208 |
|
| 209 |
prompt = f"""
|
|
|
|
| 212 |
Your task is to write a {report_type.lower()} in a {tone.lower()} tone.
|
| 213 |
|
| 214 |
🔍 Use the following structure:
|
| 215 |
+
1. Chronological Mapping: based on provided timeline. you should describe the advancements in the topic, what experiments were conducted and what methods were used and how the progression has been made
|
| 216 |
2. Gap Identification: what is missing.
|
| 217 |
+
3. Novel Contribution: suggest improvements.-- Suggest a Novel topic based on the gaps and provide an overview on how a researcher can benefit from the topic
|
| 218 |
+
4. Structured Report: headings, clarity- with all headings and discussions like a proper research paper
|
| 219 |
|
| 220 |
✂️ Writing Instruction:
|
| 221 |
{length_instruction}
|