oobabooga hace 3 años
padre
commit
3aefcfd963
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      README.md
  2. 1 1
      server.py

+ 1 - 1
README.md

@@ -91,7 +91,7 @@ Optionally, you can use the following command-line flags:
                to the same text box as the input.
                to the same text box as the input.
 --chat         Launch the webui in chat mode.
 --chat         Launch the webui in chat mode.
 --cpu          Use the CPU to generate text.
 --cpu          Use the CPU to generate text.
---listen       Makes the webui reachable from your local network.
+--listen       Make the webui reachable from your local network.
 ```
 ```
 
 
 ## Presets
 ## Presets

+ 1 - 1
server.py

@@ -17,7 +17,7 @@ parser.add_argument('--model', type=str, help='Name of the model to load by defa
 parser.add_argument('--notebook', action='store_true', help='Launch the webui in notebook mode, where the output is written to the same text box as the input.')
 parser.add_argument('--notebook', action='store_true', help='Launch the webui in notebook mode, where the output is written to the same text box as the input.')
 parser.add_argument('--chat', action='store_true', help='Launch the webui in chat mode.')
 parser.add_argument('--chat', action='store_true', help='Launch the webui in chat mode.')
 parser.add_argument('--cpu', action='store_true', help='Use the CPU to generate text.')
 parser.add_argument('--cpu', action='store_true', help='Use the CPU to generate text.')
-parser.add_argument('--listen', action='store_true', help='Makes the webui reachable from your local network.')
+parser.add_argument('--listen', action='store_true', help='Make the webui reachable from your local network.')
 args = parser.parse_args()
 args = parser.parse_args()
 loaded_preset = None
 loaded_preset = None
 available_models = sorted(set(map(lambda x : str(x.name).replace('.pt', ''), list(Path('models/').glob('*'))+list(Path('torch-dumps/').glob('*')))))
 available_models = sorted(set(map(lambda x : str(x.name).replace('.pt', ''), list(Path('models/').glob('*'))+list(Path('torch-dumps/').glob('*')))))