Spaces:
Runtime error
Runtime error
File size: 457 Bytes
6ae0c6d 6b3f7e8 4f8607d 6b3f7e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
from huggingface_hub import hf_hub_download
# Specify the model you want to use
model_id = "Canstralian/CySec_Known_Exploit_Analyzer"
# Assuming the model is a pipeline or has an interface, you can load it like this:
# (This might need adjustment depending on the exact model type)
# Load the model and interface from Hugging Face Hub
model = gr.Interface.load(f"huggingface/{model_id}")
# Launch the Gradio interface
model.launch()
|