Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -15,6 +15,8 @@ report_history_tasks = []
|
|
| 15 |
polish_history_buffer = ""
|
| 16 |
|
| 17 |
REPORT_HISTORY_FILE_PATH = "./statics/report_history_buffer.md"
|
|
|
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
def load_report_history():
|
|
@@ -119,4 +121,4 @@ with gr.Blocks(theme=gr.themes.Base(),
|
|
| 119 |
with gr.Tab("📑Literature Review"):
|
| 120 |
gr.HTML(literature_review_html)
|
| 121 |
|
| 122 |
-
demo.queue().launch(auth=(
|
|
|
|
| 15 |
polish_history_buffer = ""
|
| 16 |
|
| 17 |
REPORT_HISTORY_FILE_PATH = "./statics/report_history_buffer.md"
|
| 18 |
+
USER = os.getenv("USER")
|
| 19 |
+
PASSWORD = os.getenv("PASSWORD")
|
| 20 |
|
| 21 |
|
| 22 |
def load_report_history():
|
|
|
|
| 121 |
with gr.Tab("📑Literature Review"):
|
| 122 |
gr.HTML(literature_review_html)
|
| 123 |
|
| 124 |
+
demo.queue().launch(auth=(USER, PASSWORD))
|