File size: 499 Bytes
c4e019a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import sys
print("DEBUG: App is starting...", file=sys.stderr)
import time
print("DEBUG: Importing Gradio/Streamlit...", file=sys.stderr)
import gradio as gr
print("DEBUG: Loading transformers...", file=sys.stderr)
from transformers import AutoModel
print("DEBUG: Downloading/Loading model weights... (This might take a while)", file=sys.stderr)
# Your model loading code here...
model = AutoModel.from_pretrained("...")
print("DEBUG: Model loaded successfully!", file=sys.stderr) |