MahatirTusher commited on
Commit
4aa7395
Β·
verified Β·
1 Parent(s): 9ff0fe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -480,7 +480,7 @@ def display_results(data):
480
  st.warning("No data to display.")
481
  return None
482
  # Add the generate_literature_survey function below your other function definitions
483
- def generate_literature_survey(papers, api_key="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"):
484
  """
485
  Generate a literature survey based on paper abstracts using Groq API with Llama-3.3-70B-Instruct
486
 
@@ -994,7 +994,7 @@ def main():
994
  "search": "πŸ” Search Papers",
995
  "summarize": "πŸ“ Summarize Text",
996
  "generate": "✨ Generate Text",
997
- "literature": "πŸ“š Literature Survey"
998
  "about": "ℹ️ About Us",
999
  "how_to_use": "❓ How to Use"
1000
  }
 
480
  st.warning("No data to display.")
481
  return None
482
  # Add the generate_literature_survey function below your other function definitions
483
+ def generate_literature_survey(papers, api_key="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"):
484
  """
485
  Generate a literature survey based on paper abstracts using Groq API with Llama-3.3-70B-Instruct
486
 
 
994
  "search": "πŸ” Search Papers",
995
  "summarize": "πŸ“ Summarize Text",
996
  "generate": "✨ Generate Text",
997
+ "literature": "πŸ“š Literature Survey",
998
  "about": "ℹ️ About Us",
999
  "how_to_use": "❓ How to Use"
1000
  }