Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,15 +72,9 @@ with gr.Blocks() as demo:
|
|
| 72 |
# Add the modified processing script code here
|
| 73 |
with open("process_tweet_huggingface.py", "w") as f:
|
| 74 |
f.write(#!/usr/bin/env python3
|
| 75 |
-
"""
|
| 76 |
-
Tweet Processing Script for Google Colab - Enhanced with NLP and Sentiment Analysis
|
| 77 |
-
This version is optimized for Google Colab with GPU acceleration and Google Drive integration.
|
| 78 |
-
"""
|
| 79 |
-
|
| 80 |
|
| 81 |
import re
|
| 82 |
import json
|
| 83 |
-
|
| 84 |
import numpy as np
|
| 85 |
import torch
|
| 86 |
import math
|
|
|
|
| 72 |
# Add the modified processing script code here
|
| 73 |
with open("process_tweet_huggingface.py", "w") as f:
|
| 74 |
f.write(#!/usr/bin/env python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
import re
|
| 77 |
import json
|
|
|
|
| 78 |
import numpy as np
|
| 79 |
import torch
|
| 80 |
import math
|