Commit ·
f9f658f
1
Parent(s): 6ee1df1
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,16 @@ import snscrape.modules.twitter as sntwitter
|
|
| 10 |
|
| 11 |
matplotlib.use("Agg")
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
def search(text,username,since,until,retweet,replies):
|
| 16 |
global filename
|
| 17 |
q = text
|
|
|
|
| 10 |
|
| 11 |
matplotlib.use("Agg")
|
| 12 |
|
| 13 |
+
css = """
|
| 14 |
+
footer {display:none !important}
|
| 15 |
+
.max-h-\[30rem\] {max-height: 15rem !important;}
|
| 16 |
+
.hover\:bg-orange-50:hover {
|
| 17 |
+
--tw-bg-opacity: 1 !important;
|
| 18 |
+
background-color: rgb(229,225,255) !important;
|
| 19 |
+
}
|
| 20 |
+
"""
|
| 21 |
+
|
| 22 |
+
with gr.Blocks(title="Twitter Temporal Insights | Data Science Dojo", css = css) as demo:
|
| 23 |
def search(text,username,since,until,retweet,replies):
|
| 24 |
global filename
|
| 25 |
q = text
|