eljanmahammadli commited on
Commit
3dae562
·
1 Parent(s): aaa4e80

added more format options

Browse files
Files changed (1) hide show
  1. app.py +17 -12
app.py CHANGED
@@ -506,6 +506,11 @@ def create_interface():
506
  "Research paper",
507
  "News article",
508
  "White paper",
 
 
 
 
 
509
  ],
510
  value="Article",
511
  label="Format",
@@ -607,6 +612,18 @@ def create_interface():
607
  with gr.Row():
608
  google_search_check = gr.Checkbox(label="Enable Google Search For Recent Sources", value=True)
609
  with gr.Group(visible=True) as search_options:
 
 
 
 
 
 
 
 
 
 
 
 
610
  with gr.Row():
611
  month_from = gr.Dropdown(
612
  choices=months,
@@ -634,18 +651,6 @@ def create_interface():
634
  multiselect=True,
635
  label="Domains To Include",
636
  )
637
- with gr.Row():
638
- include_sites = gr.Textbox(
639
- label="Include Specific Websites",
640
- placeholder="Enter comma-separated keywords",
641
- elem_classes="input-highlight-yellow",
642
- )
643
- with gr.Row():
644
- exclude_sites = gr.Textbox(
645
- label="Exclude Specific Websites",
646
- placeholder="Enter comma-separated keywords",
647
- elem_classes="input-highlight-yellow",
648
- )
649
  gr.Markdown("# Add Optional PDF File with Information", elem_classes="text-center text-3xl mb-6")
650
  pdf_file_input = gr.File(label="Upload PDF")
651
 
 
506
  "Research paper",
507
  "News article",
508
  "White paper",
509
+ "LinkedIn post",
510
+ "X (Twitter) post",
511
+ "Instagram Video Content",
512
+ "TikTok Video Content",
513
+ "Facebook post",
514
  ],
515
  value="Article",
516
  label="Format",
 
612
  with gr.Row():
613
  google_search_check = gr.Checkbox(label="Enable Google Search For Recent Sources", value=True)
614
  with gr.Group(visible=True) as search_options:
615
+ with gr.Row():
616
+ include_sites = gr.Textbox(
617
+ label="Include Specific Websites",
618
+ placeholder="Enter comma-separated keywords",
619
+ elem_classes="input-highlight-yellow",
620
+ )
621
+ with gr.Row():
622
+ exclude_sites = gr.Textbox(
623
+ label="Exclude Specific Websites",
624
+ placeholder="Enter comma-separated keywords",
625
+ elem_classes="input-highlight-yellow",
626
+ )
627
  with gr.Row():
628
  month_from = gr.Dropdown(
629
  choices=months,
 
651
  multiselect=True,
652
  label="Domains To Include",
653
  )
 
 
 
 
 
 
 
 
 
 
 
 
654
  gr.Markdown("# Add Optional PDF File with Information", elem_classes="text-center text-3xl mb-6")
655
  pdf_file_input = gr.File(label="Upload PDF")
656