Agrimr commited on
Commit
8653cdf
1 Parent(s): e6d6652
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -1,10 +1,3 @@
1
  import gradio as gr
2
 
3
- # Load the model
4
- model = gr.load("ahmedrachid/FinancialBERT-Sentiment-Analysis")
5
-
6
- # Create a Gradio interface
7
- iface = gr.Interface(fn=model.predict, live=True)
8
-
9
- # Launch the Gradio interface with share=True
10
- iface.launch(share=True)
 
1
  import gradio as gr
2
 
3
+ gr.load("models/ahmedrachid/FinancialBERT-Sentiment-Analysis").launch(share=True)