ryanDing26 commited on
Commit
b24af95
·
1 Parent(s): 7295e00

Something's broken

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +8 -6
app.py CHANGED
@@ -468,7 +468,7 @@ with gr.Blocks(title="HistoPath Agent", theme=custom_theme, css="""
468
  chatbot = gr.Chatbot(
469
  label="💬 Conversation",
470
  height=550,
471
- type="messages",
472
  show_label=True,
473
  render_markdown=True,
474
  )
 
468
  chatbot = gr.Chatbot(
469
  label="💬 Conversation",
470
  height=550,
471
+ # type="messages",
472
  show_label=True,
473
  render_markdown=True,
474
  )
requirements.txt CHANGED
@@ -5,7 +5,7 @@ numpy<2.0
5
  pydantic>=2.0
6
 
7
  # Gradio - CRITICAL FIX: was 4.4.1 (typo), should be 4.44.1
8
- gradio
9
 
10
  # LangChain ecosystem
11
  langchain-core
@@ -19,11 +19,13 @@ anthropic
19
  python-dotenv
20
 
21
  # Pin problematic dependencies BEFORE lazyslide to avoid backtracking
22
- xarray==2024.10.0
23
- shapely==2.0.6
24
- scipy==1.11.4
25
- numba==0.60.0
26
- dask==2024.11.2
 
 
27
 
28
  # ML/Vision dependencies
29
  torch
 
5
  pydantic>=2.0
6
 
7
  # Gradio - CRITICAL FIX: was 4.4.1 (typo), should be 4.44.1
8
+ gradio>=4.44.1
9
 
10
  # LangChain ecosystem
11
  langchain-core
 
19
  python-dotenv
20
 
21
  # Pin problematic dependencies BEFORE lazyslide to avoid backtracking
22
+ # xarray==2024.10.0
23
+ # shapely==2.0.6
24
+ # scipy==1.11.4
25
+ # numba==0.60.0
26
+ # dask==2024.11.2
27
+ scipy
28
+ shapely
29
 
30
  # ML/Vision dependencies
31
  torch