Freeze dependencies to avoid backward compatibility issues
#17
by
gabzer
- opened
When launching the space, I ran into the following Runtime error
:
Exit code: 1. Reason: Traceback (most recent call last):
File "/home/user/app/app.py", line 3, in <module>
from smolagents import GradioUI, CodeAgent, HfApiModel
ImportError: cannot import name 'HfApiModel' from 'smolagents' (/usr/local/lib/python3.10/site-packages/smolagents/__init__.py)
Freezing all libraries' versions works for me. Please see my space here.
pcuenq
changed pull request status to
closed