Spaces:
Sleeping
Sleeping
njhn
Browse files
app.py
CHANGED
@@ -1,10 +1,3 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|