Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,11 +2,8 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
#
|
6 |
-
df = pd.
|
7 |
-
df['ds'] = pd.to_datetime(df['ds'], format='%Y-%m-%d')
|
8 |
-
df.fillna("", inplace=True)
|
9 |
-
print(df.head())
|
10 |
|
11 |
def response(user_question):
|
12 |
tqa = pipeline(task="table-question-answering", model="google/tapas-large-finetuned-wtq")
|
|
|
2 |
import pandas as pd
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
#df = pd.read_csv('anomalies.csv', sep=',', decimal='.')
|
6 |
+
df = pd.read_excel('CG.xlsx')
|
|
|
|
|
|
|
7 |
|
8 |
def response(user_question):
|
9 |
tqa = pipeline(task="table-question-answering", model="google/tapas-large-finetuned-wtq")
|