Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
Simple HTTP Server - Hello World with POST data
|
| 4 |
"""
|
| 5 |
|
|
|
|
| 6 |
import logging
|
| 7 |
import sys
|
| 8 |
import sentence_transformers
|
|
@@ -219,7 +220,6 @@ def callLlm(data):
|
|
| 219 |
|
| 220 |
|
| 221 |
if __name__ == '__main__':
|
| 222 |
-
import os
|
| 223 |
|
| 224 |
port = int(os.environ.get("PORT", 7860)) # Hugging Face uses port 7860
|
| 225 |
|
|
|
|
| 3 |
Simple HTTP Server - Hello World with POST data
|
| 4 |
"""
|
| 5 |
|
| 6 |
+
import os
|
| 7 |
import logging
|
| 8 |
import sys
|
| 9 |
import sentence_transformers
|
|
|
|
| 220 |
|
| 221 |
|
| 222 |
if __name__ == '__main__':
|
|
|
|
| 223 |
|
| 224 |
port = int(os.environ.get("PORT", 7860)) # Hugging Face uses port 7860
|
| 225 |
|