Spaces:
Runtime error
Runtime error
Commit
·
9f56dae
1
Parent(s):
6052053
Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import transformers
|
2 |
+
import gradio as gr
|
3 |
+
from transformers import pipeline
|
4 |
+
|
5 |
+
|
6 |
+
gr.interface.load("huggingface.co/keras-io/bidirectional-lstm-imdb",
|
7 |
+
examples =[["We are having beautiful weather today"]],
|
8 |
+
theme = "grass",
|
9 |
+
title= "Sentiment Analysis with Keras",
|
10 |
+
description = "This model can detect sentiment").launch()
|