Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ hwbox = gr.Textbox(label="Enter your assignment name here:", placeholder="Homewo
|
|
| 49 |
|
| 50 |
def tester(str1, str2):
|
| 51 |
|
| 52 |
-
cur_date = datetime.strptime(
|
| 53 |
|
| 54 |
return str(cur_date.month)
|
| 55 |
|
|
|
|
| 49 |
|
| 50 |
def tester(str1, str2):
|
| 51 |
|
| 52 |
+
cur_date = datetime.strptime(str1, date_format)
|
| 53 |
|
| 54 |
return str(cur_date.month)
|
| 55 |
|