xyizko commited on
Commit
775ef2b
Β·
verified Β·
1 Parent(s): 9e50ada

Update app.py

Browse files

- Fix recommended Models
- Fix tabs

Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -560,10 +560,11 @@ def upload_tab():
560
  - **πŸ“ Actionable Reports**: Specific, implementable recommendations
561
 
562
  ## Recommended Models
563
- - **microsoft/DialoGPT-medium** (Reliable, good balance)
564
- - **microsoft/DialoGPT-large** (More detailed responses)
565
- - **google/flan-t5-base** (Good instruction following)
566
- - **facebook/blenderbot-400M-distill** (Lightweight, fast)
 
567
  """
568
 
569
  def analyze_contract_ui(file, hf_token, hf_model, progress=gr.Progress()):
@@ -855,11 +856,11 @@ with gr.Blocks(
855
  title="Xyizko - Smart Contract Analyzer"
856
  ) as demo:
857
 
858
- with gr.Tab("🏠 Introduction"):
859
  demo_vid()
860
  app_intro()
861
 
862
- with gr.Tab("πŸ” Contract Analyzer"):
863
  upload_tab()
864
 
865
  with gr.Tab("πŸ”Œ MCP Integration"):
 
560
  - **πŸ“ Actionable Reports**: Specific, implementable recommendations
561
 
562
  ## Recommended Models
563
+ - **Qwen/Qwen3-235B-A22B**
564
+ - **mistralai/Mistral-7B-Instruct-v0.3**
565
+ - **google/flan-t5-base**
566
+ - **meta-llama/Llama-3.3-70B-Instruct**
567
+ - Note premium and frontier models provide the highest quality
568
  """
569
 
570
  def analyze_contract_ui(file, hf_token, hf_model, progress=gr.Progress()):
 
856
  title="Xyizko - Smart Contract Analyzer"
857
  ) as demo:
858
 
859
+ with gr.Tab("🏠 Docs"):
860
  demo_vid()
861
  app_intro()
862
 
863
+ with gr.Tab("πŸ” Analyzer Agent"):
864
  upload_tab()
865
 
866
  with gr.Tab("πŸ”Œ MCP Integration"):