Jofthomas HF staff commited on
Commit
4c67943
1 Parent(s): 4766d10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,8 @@ llm = HuggingFaceHub(huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
27
 
28
 
29
  class Sentiment(BaseModel):
30
- label: str = Field(description="Is a the above rview sentiment 'Good', or 'Bad' ?")
 
31
  def pipeline_sentiment(text):
32
  out = classifier(text)
33
  print(out)
 
27
 
28
 
29
  class Sentiment(BaseModel):
30
+ label: str = Field(description="Is the above sentiment 'Good', or 'Bad' ?")
31
+
32
  def pipeline_sentiment(text):
33
  out = classifier(text)
34
  print(out)