Skip to content

Commit

Permalink
Fix ImportError for argilla in TextGenerationToArgilla
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt committed Apr 11, 2024
1 parent 4361fbd commit 6cbcced
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/distilabel/steps/argilla/text_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@

try:
import argilla as rg
except ImportError as ie:
raise ImportError(
"Argilla is not installed. Please install it using `pip install argilla`."
) from ie
except ImportError:
pass

from distilabel.steps.argilla.base import Argilla
from distilabel.steps.base import StepInput
Expand Down

0 comments on commit 6cbcced

Please sign in to comment.