Spaces:
Sleeping
Sleeping
acumplid
commited on
Commit
•
c725702
1
Parent(s):
69dbb06
Fix bug in string detection
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def submit_input(input_, repetition_penalty, temperature):
|
|
54 |
print("FOUND",object['codi'])
|
55 |
if codes['interval'] in ['matí', 'matí?', 'mati', 'mati?', 'tarda', 'tarda?']:
|
56 |
url_images.append(object['simbol_url_dia'])
|
57 |
-
elif codes['interval'] in [
|
58 |
url_images.append(object['simbol_url_noche'])
|
59 |
|
60 |
print(url_images)
|
|
|
54 |
print("FOUND",object['codi'])
|
55 |
if codes['interval'] in ['matí', 'matí?', 'mati', 'mati?', 'tarda', 'tarda?']:
|
56 |
url_images.append(object['simbol_url_dia'])
|
57 |
+
elif codes['interval'] in ['nit', 'nit?']:
|
58 |
url_images.append(object['simbol_url_noche'])
|
59 |
|
60 |
print(url_images)
|