Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import torch
|
| 3 |
import gradio as gr
|
|
|
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
def sentiment_analysis(text):
|
|
@@ -27,8 +29,6 @@ def sentiment_analysis(text):
|
|
| 27 |
# demo.launch()
|
| 28 |
|
| 29 |
# Uploading an excel file and getting output as required:
|
| 30 |
-
import pandas as pd
|
| 31 |
-
import matplotlib.pyplot as plt
|
| 32 |
|
| 33 |
def create_charts(df):
|
| 34 |
# Validate DataFrame
|
|
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import torch
|
| 3 |
import gradio as gr
|
| 4 |
+
import pandas as pd
|
| 5 |
+
import matplotlib.pyplot as plt
|
| 6 |
|
| 7 |
|
| 8 |
def sentiment_analysis(text):
|
|
|
|
| 29 |
# demo.launch()
|
| 30 |
|
| 31 |
# Uploading an excel file and getting output as required:
|
|
|
|
|
|
|
| 32 |
|
| 33 |
def create_charts(df):
|
| 34 |
# Validate DataFrame
|