oceansweep commited on
Commit
e3abb9a
1 Parent(s): 38ed81a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1455,6 +1455,8 @@ if __name__ == "__main__":
1455
  choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'], help='Log level (default: INFO)')
1456
  parser.add_argument('-ui', '--user_interface', action='store_true', help='Launch the Gradio user interface')
1457
  parser.add_argument('-demo', '--demo_mode', action='store_true', help='Enable demo mode')
 
 
1458
  #parser.add_argument('--log_file', action=str, help='Where to save logfile (non-default)')
1459
  args = parser.parse_args()
1460
 
 
1455
  choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'], help='Log level (default: INFO)')
1456
  parser.add_argument('-ui', '--user_interface', action='store_true', help='Launch the Gradio user interface')
1457
  parser.add_argument('-demo', '--demo_mode', action='store_true', help='Enable demo mode')
1458
+ parser.add_argument('-prompt', '--custom_prompt', type=str,
1459
+ help='Pass in a custom prompt to be used in place of the existing one.(Probably should just modify the script itself...)')
1460
  #parser.add_argument('--log_file', action=str, help='Where to save logfile (non-default)')
1461
  args = parser.parse_args()
1462