Spaces:
Runtime error
Runtime error
Commit
·
3a433e4
1
Parent(s):
12c0ff2
Update app.py
Browse files
app.py
CHANGED
@@ -198,7 +198,10 @@ def AIProdust_batch_estimate(systemText,prompt,inputFile,textInput_APIKEY,temper
|
|
198 |
sheet=book.active
|
199 |
maxnum=sheet.max_row
|
200 |
for i in range(2,maxnum+1):
|
201 |
-
|
|
|
|
|
|
|
202 |
AI_Produst_estimate(systemText,prompt,quesList,gptVersion,fintuneGPTVersion,temperature,num,outputPath,Checkbox,progress)
|
203 |
return outputPath
|
204 |
|
|
|
198 |
sheet=book.active
|
199 |
maxnum=sheet.max_row
|
200 |
for i in range(2,maxnum+1):
|
201 |
+
ques=str.strip(sheet.cell(i,1).value)
|
202 |
+
if len(ques)!=0:
|
203 |
+
quesList.append(ques)
|
204 |
+
|
205 |
AI_Produst_estimate(systemText,prompt,quesList,gptVersion,fintuneGPTVersion,temperature,num,outputPath,Checkbox,progress)
|
206 |
return outputPath
|
207 |
|