Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ async def predict(input):
|
|
89 |
return sentiment
|
90 |
|
91 |
# Create Gradio interface
|
92 |
-
iface = gr.Interface(fn=predict, inputs="text", outputs="text", title="Movie Review Sentiment Analysis API" description="Enter a review to know its sentiment...")
|
93 |
iface.launch(share=True)
|
94 |
|
95 |
asyncio.run(predict())
|
|
|
89 |
return sentiment
|
90 |
|
91 |
# Create Gradio interface
|
92 |
+
iface = gr.Interface(fn=predict, inputs="text", outputs="text", title="Movie Review Sentiment Analysis API", description="Enter a review to know its sentiment...")
|
93 |
iface.launch(share=True)
|
94 |
|
95 |
asyncio.run(predict())
|