Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Patch missing HfFolder before gradio imports it
|
| 2 |
import sys
|
| 3 |
from unittest.mock import MagicMock
|
|
@@ -235,4 +282,4 @@ with gr.Blocks(title="AI Conversation Sentiment Analyzer", theme=gr.themes.Soft(
|
|
| 235 |
)
|
| 236 |
|
| 237 |
if __name__ == "__main__":
|
| 238 |
-
app.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 1 |
+
Hugging Face's logo
|
| 2 |
+
Hugging Face
|
| 3 |
+
Models
|
| 4 |
+
Datasets
|
| 5 |
+
Spaces
|
| 6 |
+
Buckets
|
| 7 |
+
new
|
| 8 |
+
Docs
|
| 9 |
+
Enterprise
|
| 10 |
+
Pricing
|
| 11 |
+
|
| 12 |
+
Website
|
| 13 |
+
Community
|
| 14 |
+
Solutions
|
| 15 |
+
|
| 16 |
+
Spaces:
|
| 17 |
+
KrizTech100
|
| 18 |
+
/
|
| 19 |
+
Sentiment_Analysis
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
like
|
| 23 |
+
0
|
| 24 |
+
|
| 25 |
+
Logs
|
| 26 |
+
App
|
| 27 |
+
Files
|
| 28 |
+
Community
|
| 29 |
+
Settings
|
| 30 |
+
Sentiment_Analysis
|
| 31 |
+
/
|
| 32 |
+
app.py
|
| 33 |
+
|
| 34 |
+
KrizTech100's picture
|
| 35 |
+
KrizTech100
|
| 36 |
+
Update app.py
|
| 37 |
+
767a4c5
|
| 38 |
+
verified
|
| 39 |
+
6 days ago
|
| 40 |
+
raw
|
| 41 |
+
|
| 42 |
+
Copy download link
|
| 43 |
+
history
|
| 44 |
+
blame
|
| 45 |
+
edit
|
| 46 |
+
delete
|
| 47 |
+
7.53 kB
|
| 48 |
# Patch missing HfFolder before gradio imports it
|
| 49 |
import sys
|
| 50 |
from unittest.mock import MagicMock
|
|
|
|
| 282 |
)
|
| 283 |
|
| 284 |
if __name__ == "__main__":
|
| 285 |
+
app.launch(server_name="0.0.0.0", server_port=7860)
|