kaiku03 commited on
Commit
557d4cf
Β·
1 Parent(s): 9e9e80c

check versions

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -11,6 +11,15 @@ import gradio as gr
11
  from agent import NewsReporterAgent, AgentState, add_messages
12
  from langchain_core.messages import HumanMessage, AIMessage
13
 
 
 
 
 
 
 
 
 
 
14
  # --- 1. Initialize the Agent ---
15
  # This loads the model once when the app starts.
16
  agent = NewsReporterAgent()
 
11
  from agent import NewsReporterAgent, AgentState, add_messages
12
  from langchain_core.messages import HumanMessage, AIMessage
13
 
14
+ # Version check
15
+ print("--- πŸ” CHECKING LIBRARY VERSIONS πŸ” ---")
16
+ print(f"PyTorch version: {torch.__version__}")
17
+ print(f"Transformers version: {transformers.__version__}")
18
+ print(f"Gradio version: {gradio.__version__}")
19
+ print("------------------------------------")
20
+ ##############
21
+
22
+
23
  # --- 1. Initialize the Agent ---
24
  # This loads the model once when the app starts.
25
  agent = NewsReporterAgent()