Spaces:
Runtime error
Runtime error
Debug
Browse files
app.py
CHANGED
@@ -128,6 +128,7 @@ def predict(tweet):
|
|
128 |
prediction = query(preprocessed_tweet)
|
129 |
|
130 |
if type(prediction) == dict:
|
|
|
131 |
loading_time = prediction['estimated_time']
|
132 |
return f"Loading Model (Estimated Time: {loading_time} Seconds)"
|
133 |
|
|
|
128 |
prediction = query(preprocessed_tweet)
|
129 |
|
130 |
if type(prediction) == dict:
|
131 |
+
print(prediction)
|
132 |
loading_time = prediction['estimated_time']
|
133 |
return f"Loading Model (Estimated Time: {loading_time} Seconds)"
|
134 |
|