ulisesbravo commited on
Commit
737823f
·
verified ·
1 Parent(s): 5d53afe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from huggingface_hub import InferenceClient
3
  import json
4
 
5
  # Inicialize o cliente com o modelo do Hugging Face
6
- client = InferenceClient(model="ulisesbravo/autotrain-nsuej-5ctie")
7
-
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
 
3
  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-wlgd2-3sulg")
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