Update app.py
Browse files
app.py
CHANGED
@@ -696,6 +696,24 @@ html_header = """
|
|
696 |
</div>
|
697 |
"""
|
698 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
html_footer = """
|
700 |
<div class="footer">
|
701 |
<div class="footer-content">
|
@@ -703,8 +721,7 @@ html_footer = """
|
|
703 |
<p>Powered by Meta's Llama-Vision-Free Model & Together AI</p>
|
704 |
<p>Upload multiple ingredient images for more creative recipe combinations</p>
|
705 |
<div class="footer-links">
|
706 |
-
<a href="#" target="_blank">How It Works</a>
|
707 |
-
<a href="#" target="_blank">Privacy Policy</a>
|
708 |
<a href="#" target="_blank">Contact Us</a>
|
709 |
</div>
|
710 |
</div>
|
|
|
696 |
</div>
|
697 |
"""
|
698 |
|
699 |
+
with gr.Accordion("How to Use This App", open=False, elem_id="how-to-use"):
|
700 |
+
gr.Markdown("""
|
701 |
+
### Getting Started:
|
702 |
+
1. Enter your OpenAI API key in the field below and click "Set API Key"
|
703 |
+
2. Upload multiple PDF research papers (2 or more recommended)
|
704 |
+
3. Enter your review question or topic
|
705 |
+
4. Check the "Include Tables" option if you want the review to include comparison tables
|
706 |
+
5. Click "Generate Systematic Review" to start the process
|
707 |
+
6. After generation, you can download the review as HTML
|
708 |
+
|
709 |
+
### Tips for Best Results:
|
710 |
+
- Upload papers that are related to the same research topic or field
|
711 |
+
- Be specific in your review question to get more focused results
|
712 |
+
- The generated review will follow a systematic structure including research field identification, data extraction, analysis, and conclusions
|
713 |
+
- The more papers you upload, the more comprehensive the review will be
|
714 |
+
- The review will be formatted as a professional academic paper with proper sections and citations
|
715 |
+
""")
|
716 |
+
|
717 |
html_footer = """
|
718 |
<div class="footer">
|
719 |
<div class="footer-content">
|
|
|
721 |
<p>Powered by Meta's Llama-Vision-Free Model & Together AI</p>
|
722 |
<p>Upload multiple ingredient images for more creative recipe combinations</p>
|
723 |
<div class="footer-links">
|
724 |
+
<a href="#how-to-use" target="_blank">How It Works</a>
|
|
|
725 |
<a href="#" target="_blank">Contact Us</a>
|
726 |
</div>
|
727 |
</div>
|