Spaces:
Sleeping
Sleeping
Ahmad Hammoudeh commited on
Commit ·
df33544
1
Parent(s): c4e3242
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,8 +18,9 @@ import string
|
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
-
def greet(
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 25 |
iface.launch()
|
|
@@ -27,8 +28,6 @@ iface.launch()
|
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
def seedx(path , User_passcode=0, N_days=1, encryption_difficulty = 2**10):
|
| 33 |
try:
|
| 34 |
with open(path +'indx.txt') as f:
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
+
def greet(Txt):
|
| 22 |
+
encMessage = Encrypt_msg(User_message=Txt,user_password='',path='')
|
| 23 |
+
return "Hello " + encMessage + "!!"
|
| 24 |
|
| 25 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 26 |
iface.launch()
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
|
|
|
|
|
|
|
| 31 |
def seedx(path , User_passcode=0, N_days=1, encryption_difficulty = 2**10):
|
| 32 |
try:
|
| 33 |
with open(path +'indx.txt') as f:
|