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

check versions(2)

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -11,13 +11,19 @@ import gradio as gr
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 ---
 
11
  from agent import NewsReporterAgent, AgentState, add_messages
12
  from langchain_core.messages import HumanMessage, AIMessage
13
 
14
+ #######################################
15
  # Version check
16
+ import torch
17
+ import transformers
18
+ import gradio
19
+
20
+ # Now you can check the versions
21
  print("--- πŸ” CHECKING LIBRARY VERSIONS πŸ” ---")
22
  print(f"PyTorch version: {torch.__version__}")
23
  print(f"Transformers version: {transformers.__version__}")
24
  print(f"Gradio version: {gradio.__version__}")
25
  print("------------------------------------")
26
+ #########################################
27
 
28
 
29
  # --- 1. Initialize the Agent ---