zej97 commited on
Commit
24e2294
1 Parent(s): b80d291

Upload folder using huggingface_hub

Browse files
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
app.py CHANGED
@@ -24,10 +24,10 @@ with gr.Blocks(theme=gr.themes.Base(),
24
  title="AI Research Assistant",
25
  css=css) as demo:
26
  gr.HTML(top_bar)
27
- with gr.Tab(label="Report"):
28
  with gr.Column():
29
  gr.HTML(research_report_html)
30
- research_report = gr.Markdown(value="  **Research report will appear here...**",
31
  elem_classes="output")
32
  with gr.Row():
33
  agent_type = gr.Dropdown(label="# Agent Type",
@@ -76,7 +76,7 @@ with gr.Blocks(theme=gr.themes.Base(),
76
  .then(store_research, inputs=[research_report], outputs=research_history)
77
 
78
 
79
- with gr.Tab("English Polishing"):
80
  gr.HTML(english_polishing_html)
81
  polished_result = gr.Markdown("  **Polished result will appear here...**", elem_classes="output")
82
  sentences = gr.Textbox(label="# What would you like to polish?", placeholder="Enter your sentence here")
@@ -95,7 +95,7 @@ with gr.Blocks(theme=gr.themes.Base(),
95
  history_result = gr.Markdown("  **History result will appear here...**")
96
  save_btn.click(save_result, inputs=[history_result, sentences, polished_result], outputs=history_result)
97
 
98
- with gr.Tab("Literature Review"):
99
  gr.HTML(literature_review_html)
100
 
101
  demo.queue().launch()
 
24
  title="AI Research Assistant",
25
  css=css) as demo:
26
  gr.HTML(top_bar)
27
+ with gr.Tab(label="🔦Report"):
28
  with gr.Column():
29
  gr.HTML(research_report_html)
30
+ research_report = gr.Markdown(value="  **Report will appear here...**",
31
  elem_classes="output")
32
  with gr.Row():
33
  agent_type = gr.Dropdown(label="# Agent Type",
 
76
  .then(store_research, inputs=[research_report], outputs=research_history)
77
 
78
 
79
+ with gr.Tab("✒️English Polishing"):
80
  gr.HTML(english_polishing_html)
81
  polished_result = gr.Markdown("  **Polished result will appear here...**", elem_classes="output")
82
  sentences = gr.Textbox(label="# What would you like to polish?", placeholder="Enter your sentence here")
 
95
  history_result = gr.Markdown("  **History result will appear here...**")
96
  save_btn.click(save_result, inputs=[history_result, sentences, polished_result], outputs=history_result)
97
 
98
+ with gr.Tab("📑Literature Review"):
99
  gr.HTML(literature_review_html)
100
 
101
  demo.queue().launch()
statics/__pycache__/style.cpython-311.pyc CHANGED
Binary files a/statics/__pycache__/style.cpython-311.pyc and b/statics/__pycache__/style.cpython-311.pyc differ
 
statics/favicon.ico ADDED
statics/style.py CHANGED
@@ -2,7 +2,7 @@ css = """
2
  .top-bar {
3
  padding-bottom: 10px;
4
  background-color: transparent;
5
- border-bottom: #dfe4ea 1px solid;
6
  }
7
 
8
  .top-bar .in-bar-title {
@@ -40,9 +40,9 @@ css = """
40
  }
41
 
42
  #history {
43
- padding: 10px;
44
- border: 1.5px dashed #9A73B5;
45
- border-radius: 10px;
46
  }
47
 
48
  #primary-btn {
@@ -74,7 +74,7 @@ top_bar = """
74
  <span class="in-bar-title">
75
  AI Research Assistant
76
  <a href="https://github.com/paradoxtown/AI-Research-Assistant">
77
- <i class="fab fa-github" style="font-size:23px;"></i>
78
  </a>
79
  </span>
80
  <span class="in-bar-subtitle">Your personal free GPT researcher</span>
@@ -84,7 +84,7 @@ top_bar = """
84
  """
85
 
86
  research_report_html = """
87
- <span data-testid="block-info" class="svelte-1gfkn6j custom_label")># Research Report</span>
88
  """
89
 
90
  english_polishing_html = """
 
2
  .top-bar {
3
  padding-bottom: 10px;
4
  background-color: transparent;
5
+ border-bottom: #E9E4ED 1px solid;
6
  }
7
 
8
  .top-bar .in-bar-title {
 
40
  }
41
 
42
  #history {
43
+ padding: 10px !important;
44
+ border: 1.5px dashed #9A73B5 !important;
45
+ border-radius: 10px !important;
46
  }
47
 
48
  #primary-btn {
 
74
  <span class="in-bar-title">
75
  AI Research Assistant
76
  <a href="https://github.com/paradoxtown/AI-Research-Assistant">
77
+ <i class="fab fa-github" style="font-size:25px;"></i>
78
  </a>
79
  </span>
80
  <span class="in-bar-subtitle">Your personal free GPT researcher</span>
 
84
  """
85
 
86
  research_report_html = """
87
+ <span data-testid="block-info" class="svelte-1gfkn6j custom_label")># Report</span>
88
  """
89
 
90
  english_polishing_html = """