Spaces:
Build error
Build error
Update app.py
Browse files4 unmodified lines5678910114 unmodified lines# Inicialize o cliente com o modelo do Hugging Face#client = InferenceClient(model="ulisesbravo/autotrain-nsuej-5ctie")#client = InferenceClient(model="ulisesbravo/autotrain-nzog3-ca819");client = InferenceClient(model="ulisesbravo/autotrain-po0st-um4bf");def classify_text(text):# Realize a inferência chamando o método postresponse_bytes = client.post(json={"inputs": text}) # Enviar o texto4 unmodified lines567891011124 unmodified lines# Inicialize o cliente com o modelo do Hugging Face#client = InferenceClient(model="ulisesbravo/autotrain-nsuej-5ctie")#client = InferenceClient(model="ulisesbravo/autotrain-nzog3-ca819");#client = InferenceClient(model="ulisesbravo/autotrain-po0st-um4bf");client = InferenceClient(model="ulisesbravo/autotrain-k9ag8-b7nm0");def classify_text(text):# Realize a inferência chamando o método postresponse_bytes = client.post(json={"inputs": text}) # Enviar o texto
app.py+2-1