bebechien commited on
Commit
9c4dfc0
Β·
verified Β·
1 Parent(s): 9d4e14d

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. app.py +1 -0
README.md CHANGED
@@ -166,6 +166,7 @@ Key parameters can be adjusted in `config.py`:
166
  β”œβ”€β”€ config.py # Central configuration for all modules
167
  β”œβ”€β”€ requirements.txt # Python package dependencies
168
  β”œβ”€β”€ README.md # This file
 
169
  └── templates/ # HTML templates for the Flask app
170
  β”œβ”€β”€ index.html
171
  └── error.html
 
166
  β”œβ”€β”€ config.py # Central configuration for all modules
167
  β”œβ”€β”€ requirements.txt # Python package dependencies
168
  β”œβ”€β”€ README.md # This file
169
+ β”œβ”€β”€ artifacts/ # Stores session-specific fine-tuned models and datasets
170
  └── templates/ # HTML templates for the Flask app
171
  β”œβ”€β”€ index.html
172
  └── error.html
app.py CHANGED
@@ -491,6 +491,7 @@ def build_interface() -> gr.Blocks:
491
  with gr.Tab("πŸ’‘ Similarity Check"):
492
  with gr.Column():
493
  gr.Markdown(f"## News Similarity Check")
 
494
  news_input = gr.Textbox(label="Enter News Title or Summary", lines=3)
495
  vibe_check_btn = gr.Button("Check Similarity", variant="primary")
496
  session_info_display = gr.Markdown()
 
491
  with gr.Tab("πŸ’‘ Similarity Check"):
492
  with gr.Column():
493
  gr.Markdown(f"## News Similarity Check")
494
+ gr.Markdown(f"Enter text to see its similarity to **`{AppConfig.QUERY_ANCHOR}`**.\n**Vibe Key:** Green = High, Red = Low")
495
  news_input = gr.Textbox(label="Enter News Title or Summary", lines=3)
496
  vibe_check_btn = gr.Button("Check Similarity", variant="primary")
497
  session_info_display = gr.Markdown()