Raffaele Terribile commited on
Commit
6d8e4c2
·
unverified ·
1 Parent(s): f0a56fc

Prova con il login di HuggingFace-CLI

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -6,9 +6,7 @@ import pandas as pd
6
 
7
  from smolagents import CodeAgent, InferenceClientModel, VisitWebpageTool, PythonInterpreterTool, WebSearchTool, WikipediaSearchTool, FinalAnswerTool, Tool, tool # GoogleSearchTool (usa SERPAPI_API_KEY), DuckDuckGoSearchTool
8
 
9
- from huggingface_hub import notebook_login
10
-
11
- notebook_login()
12
 
13
  # (Keep Constants as is)
14
  # --- Constants ---
 
6
 
7
  from smolagents import CodeAgent, InferenceClientModel, VisitWebpageTool, PythonInterpreterTool, WebSearchTool, WikipediaSearchTool, FinalAnswerTool, Tool, tool # GoogleSearchTool (usa SERPAPI_API_KEY), DuckDuckGoSearchTool
8
 
9
+ huggingface-cli login
 
 
10
 
11
  # (Keep Constants as is)
12
  # --- Constants ---