Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ from transformers import load_tool, ReactCodeAgent, HfApiEngine
|
|
| 2 |
from PIL import Image, ImageDraw, ImageFont
|
| 3 |
import tempfile
|
| 4 |
import gradio as gr
|
| 5 |
-
from smolagents import
|
| 6 |
-
from smolagents import HfApiEngine
|
| 7 |
|
| 8 |
#%% Methods
|
| 9 |
# Function to add a label to an image
|
|
|
|
| 2 |
from PIL import Image, ImageDraw, ImageFont
|
| 3 |
import tempfile
|
| 4 |
import gradio as gr
|
| 5 |
+
#from smolagents import CodeAgent, InferenceClientModel
|
| 6 |
+
#from smolagents import HfApiEngine
|
| 7 |
|
| 8 |
#%% Methods
|
| 9 |
# Function to add a label to an image
|