dhmeltzer commited on
Commit
a0b5df2
1 Parent(s): 6f4097c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -35,6 +35,9 @@ def main():
35
 
36
  prompt = 'generate a question: ' + user_input
37
 
 
 
 
38
  output = query(checkpoint,{
39
  "inputs": prompt,
40
  "wait_for_model":True})
 
35
 
36
  prompt = 'generate a question: ' + user_input
37
 
38
+ else:
39
+ prompt = user_input
40
+
41
  output = query(checkpoint,{
42
  "inputs": prompt,
43
  "wait_for_model":True})