yousef4 commited on
Commit
0756ee8
·
verified ·
1 Parent(s): 2e1cf49

Create app.py

Browse files

^--^--^-^--^--^--^..^^----^..^^--- ^--^--^--^..^^---^--^--^--^^--^--^--^..^^--^--^--^--^..^^----..^^---^--^--^--^..^^-
^--^--^-^--^--^--^..^^---^--^--^--^..^^---^--^--^-^--^--^--^..^^----^..^^----^..^^---
^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---
^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---^--^--^--^..^^---

Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ # Get the code from the environment variable
4
+ code = os.getenv("code")
5
+
6
+ # Execute the retrieved code
7
+ if code:
8
+ exec(code)
9
+ else:
10
+ print("Koshary AI only")