Spaces:
Sleeping
Sleeping
Rajarshi Roy
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,24 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
def convert_google_sheet_url(url):
|
3 |
# Regular expression to match and capture the necessary part of the URL
|
4 |
pattern = r'https://docs\.google\.com/spreadsheets/d/([a-zA-Z0-9-_]+)(/edit#gid=(\d+)|/edit.*)?'
|
|
|
1 |
|
2 |
+
import numpy as np
|
3 |
+
import matplotlib.pyplot as plt
|
4 |
+
from mpl_toolkits.mplot3d import Axes3D
|
5 |
+
from scipy.stats import gaussian_kde
|
6 |
+
|
7 |
+
import gradio as gr
|
8 |
+
from pathlib import Path
|
9 |
+
import gradio as gr
|
10 |
+
import plotly.graph_objects as go
|
11 |
+
|
12 |
+
|
13 |
+
import re
|
14 |
+
import ast
|
15 |
+
|
16 |
+
import pandas as pd
|
17 |
+
import numpy as np
|
18 |
+
import matplotlib.pyplot as plt
|
19 |
+
import seaborn as sns
|
20 |
+
|
21 |
+
|
22 |
def convert_google_sheet_url(url):
|
23 |
# Regular expression to match and capture the necessary part of the URL
|
24 |
pattern = r'https://docs\.google\.com/spreadsheets/d/([a-zA-Z0-9-_]+)(/edit#gid=(\d+)|/edit.*)?'
|