Spaces:
Runtime error
Runtime error
Update app.py
Browse files1234567891011121314151617181920# import gradio as gr# def greet(name):# return "Hello " + name + "!!"# demo = gr.Interface(fn=greet, inputs="text", outputs="text")# demo.launch()import gradio as grimport requestsimport torchfrom PIL import Imagefrom transformers import MllamaForConditionalGeneration, AutoProcessorfrom huggingface_hub import loginlogin("HUGGINGFACE_API_TOKEN")# Load the Llama 3.2 Vision Modeldef load_llama_model():1234567891011import gradio as grimport requestsimport torchfrom PIL import Imagefrom transformers import MllamaForConditionalGeneration, AutoProcessor# from huggingface_hub import login# login("HUGGINGFACE_API_TOKEN")# Load the Llama 3.2 Vision Modeldef load_llama_model():
app.py+2-11