Upload folder using huggingface_hub
Browse files
src/__pycache__/gradio_app.cpython-311.pyc
CHANGED
|
Binary files a/src/__pycache__/gradio_app.cpython-311.pyc and b/src/__pycache__/gradio_app.cpython-311.pyc differ
|
|
|
src/__pycache__/mailing.cpython-311.pyc
CHANGED
|
Binary files a/src/__pycache__/mailing.cpython-311.pyc and b/src/__pycache__/mailing.cpython-311.pyc differ
|
|
|
src/mailing.py
CHANGED
|
@@ -34,7 +34,13 @@ def send_email(
|
|
| 34 |
# Construct the mailto URL
|
| 35 |
mailto_url = f"mailto:{email_addresses}?subject={subject}&body={email_content}"
|
| 36 |
print(webbrowser)
|
| 37 |
-
print(
|
| 38 |
# Open the default email client
|
| 39 |
output = webbrowser.open(mailto_url, new=1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
print(output)
|
|
|
|
| 34 |
# Construct the mailto URL
|
| 35 |
mailto_url = f"mailto:{email_addresses}?subject={subject}&body={email_content}"
|
| 36 |
print(webbrowser)
|
| 37 |
+
print("SUCESS TO HERE")
|
| 38 |
# Open the default email client
|
| 39 |
output = webbrowser.open(mailto_url, new=1)
|
| 40 |
+
import subprocess
|
| 41 |
+
import sys
|
| 42 |
+
|
| 43 |
+
print(sys.platform[:3])
|
| 44 |
+
# breakpoint()
|
| 45 |
+
|
| 46 |
print(output)
|
src/send_email.py
CHANGED
|
@@ -120,8 +120,7 @@ if sys.platform[:3] == "win":
|
|
| 120 |
elif sys.platform == "darwin":
|
| 121 |
_controllers["open"] = Controller("open")
|
| 122 |
_open = _controllers["open"].open
|
| 123 |
-
|
| 124 |
-
|
| 125 |
# Platform support for Unix
|
| 126 |
else:
|
| 127 |
import subprocess, stat
|
|
|
|
| 120 |
elif sys.platform == "darwin":
|
| 121 |
_controllers["open"] = Controller("open")
|
| 122 |
_open = _controllers["open"].open
|
| 123 |
+
|
|
|
|
| 124 |
# Platform support for Unix
|
| 125 |
else:
|
| 126 |
import subprocess, stat
|