blackwingedkite commited on
Commit
0fdebe8
·
1 Parent(s): d8f6532

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ with open('alpaca_output.csv', 'a', newline='',encoding = "utf-8") as csvfile:
37
  writer = csv.writer(csvfile)
38
  writer.writerow(["stockname",'prompt','answer','time'])
39
  if user_input:
40
- if user_input[0] = "":
41
  stockname = user_input[1:4]
42
  analysis = user_input[4:]
43
 
 
37
  writer = csv.writer(csvfile)
38
  writer.writerow(["stockname",'prompt','answer','time'])
39
  if user_input:
40
+ if user_input[0] == ".":
41
  stockname = user_input[1:4]
42
  analysis = user_input[4:]
43