Spaces:
Runtime error
Runtime error
Jan Štihec
commited on
Commit
•
9c2c00a
1
Parent(s):
3736582
app.py fix
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ if "valid_inputs_received" not in st.session_state:
|
|
12 |
st.session_state["valid_inputs_received"] = False
|
13 |
|
14 |
|
15 |
-
def get_articles(query, fetcher) ->
|
16 |
# Fetches articles using pymed. Increasing max_results results in longer loading times.
|
17 |
results = fetcher.query(query, max_results=50)
|
18 |
conclusions = []
|
|
|
12 |
st.session_state["valid_inputs_received"] = False
|
13 |
|
14 |
|
15 |
+
def get_articles(query, fetcher) -> Dict[str, List[str], str]:
|
16 |
# Fetches articles using pymed. Increasing max_results results in longer loading times.
|
17 |
results = fetcher.query(query, max_results=50)
|
18 |
conclusions = []
|