ulisesbravo commited on
Commit
36967c2
·
verified ·
1 Parent(s): 6d10413

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import json
4
 
5
  # Inicialize o cliente com o modelo do Hugging Face
6
  #client = InferenceClient(model="ulisesbravo/autotrain-nsuej-5ctie")
7
- client = InferenceClient(model="ulisesbravo/autotrain-nzog3-ca819")
 
8
  def classify_text(text):
9
  # Realize a inferência chamando o método post
10
  response_bytes = client.post(json={"inputs": text}) # Enviar o texto
 
4
 
5
  # Inicialize o cliente com o modelo do Hugging Face
6
  #client = InferenceClient(model="ulisesbravo/autotrain-nsuej-5ctie")
7
+ #client = InferenceClient(model="ulisesbravo/autotrain-nzog3-ca819");
8
+ client = InferenceClient(model="ulisesbravo/autotrain-po0st-um4bf");
9
  def classify_text(text):
10
  # Realize a inferência chamando o método post
11
  response_bytes = client.post(json={"inputs": text}) # Enviar o texto