Spaces:
Sleeping
Sleeping
Rowan Martnishn
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ tokenizer = AutoTokenizer.from_pretrained(MODEL)
|
|
23 |
|
24 |
|
25 |
|
26 |
-
|
27 |
|
28 |
|
29 |
class ScorePredictor(nn.Module):
|
@@ -66,6 +66,7 @@ subreddits = [
|
|
66 |
|
67 |
# Global variables for data
|
68 |
global prediction_plot_base64
|
|
|
69 |
|
70 |
def process_data():
|
71 |
"""Fetches data, performs analysis, and generates the plot."""
|
|
|
23 |
|
24 |
|
25 |
|
26 |
+
|
27 |
|
28 |
|
29 |
class ScorePredictor(nn.Module):
|
|
|
66 |
|
67 |
# Global variables for data
|
68 |
global prediction_plot_base64
|
69 |
+
prediction_plot_base64 = None
|
70 |
|
71 |
def process_data():
|
72 |
"""Fetches data, performs analysis, and generates the plot."""
|