Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Import necessary libraries
|
| 2 |
import gradio as gr
|
| 3 |
-
from smolagents import CodeAgent # Replace with your actual import if different
|
| 4 |
|
| 5 |
# Step 1: Set up your smolagents agent
|
| 6 |
def create_agent():
|
|
|
|
| 1 |
# Import necessary libraries
|
| 2 |
import gradio as gr
|
| 3 |
+
from smolagents import CodeAgent,HfApiModel # Replace with your actual import if different
|
| 4 |
|
| 5 |
# Step 1: Set up your smolagents agent
|
| 6 |
def create_agent():
|