Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def prepare_context():
|
|
26 |
return pubmed_information_cleaned[:max_length]
|
27 |
|
28 |
# Function to generate answer
|
29 |
-
def answer_question(question
|
30 |
pubmed_information_cleaned = prepare_context()
|
31 |
|
32 |
# Prepare input sequence
|
|
|
26 |
return pubmed_information_cleaned[:max_length]
|
27 |
|
28 |
# Function to generate answer
|
29 |
+
def answer_question(question):
|
30 |
pubmed_information_cleaned = prepare_context()
|
31 |
|
32 |
# Prepare input sequence
|