Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,7 +258,7 @@ An advanced GGUF editor, reading GGUF files directly from Hugging Face repositor
|
|
| 258 |
```
|
| 259 |
python3 app.py
|
| 260 |
```
|
| 261 |
-
* Browse to http://
|
| 262 |
|
| 263 |
</details>
|
| 264 |
|
|
@@ -270,7 +270,7 @@ An advanced GGUF editor, reading GGUF files directly from Hugging Face repositor
|
|
| 270 |
```
|
| 271 |
python3 app.py "path/to/gguf/folder"
|
| 272 |
```
|
| 273 |
-
* Browse to http://
|
| 274 |
|
| 275 |
</details>
|
| 276 |
|
|
@@ -1143,7 +1143,7 @@ Any framework based on `llama-cpp-python` will let you select which chat templat
|
|
| 1143 |
del query_params['branch']
|
| 1144 |
|
| 1145 |
link = request.request.url_for('download', repo_file = meta.var['repo_file']).include_query_params(**query_params)
|
| 1146 |
-
link = 'https' + str(link)[4:] if link.hostname not in ('localhost', '
|
| 1147 |
|
| 1148 |
permalink = None
|
| 1149 |
if meta.rem or meta.add:
|
|
|
|
| 258 |
```
|
| 259 |
python3 app.py
|
| 260 |
```
|
| 261 |
+
* Browse to http://0.0.0.0:7860
|
| 262 |
|
| 263 |
</details>
|
| 264 |
|
|
|
|
| 270 |
```
|
| 271 |
python3 app.py "path/to/gguf/folder"
|
| 272 |
```
|
| 273 |
+
* Browse to http://0.0.0.0:7860
|
| 274 |
|
| 275 |
</details>
|
| 276 |
|
|
|
|
| 1143 |
del query_params['branch']
|
| 1144 |
|
| 1145 |
link = request.request.url_for('download', repo_file = meta.var['repo_file']).include_query_params(**query_params)
|
| 1146 |
+
link = 'https' + str(link)[4:] if link.hostname not in ('localhost', '0.0.0.0', '::7860') and link.scheme == 'http' else str(link)
|
| 1147 |
|
| 1148 |
permalink = None
|
| 1149 |
if meta.rem or meta.add:
|