jackkuo commited on
Commit
ca7e4c0
·
verified ·
1 Parent(s): b081506

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -310,7 +310,7 @@ def summarize_abstract(abstract, llm_model="llama-3.1-70b-versatile", instructio
310
  )
311
  except Exception as e: # Catch the exception
312
  print(f"An error occurred: {e}") # Print the error
313
- return 'Groq model not available or above the usage limit. Use own API key from here: https://console.groq.com/keys'
314
 
315
 
316
  # Return the summarized content
@@ -365,7 +365,7 @@ def logo(db_update_date, db_size_bio, db_size_med):
365
  </div>
366
  <p>How to use:
367
  <br><strong>1</strong>: Enter your search query (Optional modification "Number of results to show")
368
- <br><strong>2</strong>: Click the Enter key or Click "Search" to preview it.
369
  <br><strong>3</strong>: Enter summary prompt in the below input box.
370
  <br><strong>4</strong>: Click "AI summary" to summarize the search results above.
371
  </p>
 
310
  )
311
  except Exception as e: # Catch the exception
312
  print(f"An error occurred: {e}") # Print the error
313
+ return 'LLM API not available or above the usage limit.'
314
 
315
 
316
  # Return the summarized content
 
365
  </div>
366
  <p>How to use:
367
  <br><strong>1</strong>: Enter your search query (Optional modification "Number of results to show")
368
+ <br><strong>2</strong>: Click the Enter key to preview it.
369
  <br><strong>3</strong>: Enter summary prompt in the below input box.
370
  <br><strong>4</strong>: Click "AI summary" to summarize the search results above.
371
  </p>