mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
reformat
This commit is contained in:
parent
7979ce1a85
commit
05cc72b8a0
@ -203,7 +203,7 @@ def get_huggingface_interface(model_name, api_key, alias):
|
||||
"preprocess": lambda x: {"inputs": x},
|
||||
"postprocess": encode_to_base64,
|
||||
},
|
||||
"token-classification": {
|
||||
"token-classification": {
|
||||
# example model: hf.co/huggingface-course/bert-finetuned-ner
|
||||
"inputs": inputs.Textbox(label="Input"),
|
||||
"outputs": outputs.HighlightedText(label="Output"),
|
||||
|
Loading…
Reference in New Issue
Block a user