themissingCRAM commited on
Commit
8dcb67d
·
1 Parent(s): 6f23400

removed extra model client

Browse files
Files changed (2) hide show
  1. app.py +0 -4
  2. requirements.txt +1 -1
app.py CHANGED
@@ -3,10 +3,6 @@ from huggingface_hub import InferenceClient
3
  import os
4
  from smolagents import tool, CodeAgent, HfApiModel, GradioUI
5
 
6
- client = InferenceClient(
7
- "HuggingFaceH4/zephyr-7b-beta", token=os.getenv("my_first_agents_hf_tokens")
8
- )
9
-
10
 
11
  @tool
12
  def sql_engine(query: str) -> str:
 
3
  import os
4
  from smolagents import tool, CodeAgent, HfApiModel, GradioUI
5
 
 
 
 
 
6
 
7
  @tool
8
  def sql_engine(query: str) -> str:
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  huggingface_hub>=0.28.0
2
- smolagents==1.12.0
3
  python-dotenv==1.1.0
4
  sqlalchemy==2.0.40
5
  gradio>=5.23.1
 
1
  huggingface_hub>=0.28.0
2
+ smolagents>=1.12.0
3
  python-dotenv==1.1.0
4
  sqlalchemy==2.0.40
5
  gradio>=5.23.1