AIQA_Gradio / app.py
Agrimr's picture
scc
e6d6652
raw
history blame
253 Bytes
import gradio as gr
# Load the model
model = gr.load("ahmedrachid/FinancialBERT-Sentiment-Analysis")
# Create a Gradio interface
iface = gr.Interface(fn=model.predict, live=True)
# Launch the Gradio interface with share=True
iface.launch(share=True)