Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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})
|