Raghavan1988
commited on
Commit
•
450fa18
1
Parent(s):
424cd11
constant prompt and revert changes
Browse files
app.py
CHANGED
@@ -55,6 +55,17 @@ def generate(
|
|
55 |
seed = seed + 1
|
56 |
|
57 |
try:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
|
60 |
formatted_prompt = format_prompt(prompt, history, system_prompt)
|
|
|
55 |
seed = seed + 1
|
56 |
|
57 |
try:
|
58 |
+
#docs = ArxivLoader(query="1605.08386", load_max_docs=2).load()
|
59 |
+
#doc = docs[0]
|
60 |
+
#try:
|
61 |
+
#title = doc["Title"]
|
62 |
+
#abstract = doc["Summary"]
|
63 |
+
#except:
|
64 |
+
#title = " NO PAPER"
|
65 |
+
#abstract = "NO ABSTRACT"
|
66 |
+
|
67 |
+
#prompt = "Who is the prime minster of India ?" #title.strip() + " " + abstract + " Generate 3 bullet points of SUMMARY and 1 FUTURE EXTENSION IDEA for the article."
|
68 |
+
|
69 |
|
70 |
|
71 |
formatted_prompt = format_prompt(prompt, history, system_prompt)
|