Spaces:
Runtime error
Runtime error
File size: 271 Bytes
1286cdd 8426bb8 588a558 |
1 2 3 4 5 |
import gradio as gr
import os
auth_token = os.environ.get("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") or True
AutoModelForMaskedLM.from_pretrained("apruvd/tk", use_auth_token=auth_token)
gr.load("models/apruvd/tk",api_key = "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").launch() |