Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,9 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def get_sentiment(input_text):
|
4 |
-
return sentiment(input_text)
|
5 |
-
|
6 |
-
import requests
|
7 |
-
|
8 |
app = FastAPI()
|
9 |
|
10 |
url = "https://sentiment-analysis9.p.rapidapi.com/sentiment"
|
|
|
1 |
+
from fastapi import FastAPI
|
2 |
+
import nest_asyncio
|
3 |
+
from pyngrok import ngrok
|
4 |
+
import uvicorn
|
5 |
import gradio as gr
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
app = FastAPI()
|
8 |
|
9 |
url = "https://sentiment-analysis9.p.rapidapi.com/sentiment"
|