mirror of
https://github.com/informaticker/cchat.git
synced 2024-12-03 14:11:57 +01:00
Fix favico and int temp
This commit is contained in:
parent
53d4703cb2
commit
cd5ad0b61a
2
app.py
2
app.py
@ -20,7 +20,7 @@ tokenizer = AutoTokenizer.from_pretrained(os.environ.get('TOKENIZER', 'gpt2'))
|
||||
api_url = os.environ.get('API_URL', 'https://api.openai.com/v1')
|
||||
api_key = os.environ.get('API_KEY')
|
||||
api_model = os.environ.get('API_MODEL', 'gpt-3.5-turbo')
|
||||
temperature = os.environ.get('TEMPERATURE', 0)
|
||||
temperature = int(os.environ.get('TEMPERATURE', 0))
|
||||
|
||||
@app.route('/v1/tokenizer/count', methods=['POST'])
|
||||
def token_count():
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>cchat</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" href="{{ url_for('static', filename='favicon.svg') }}" type="image/svg+xml">
|
||||
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/svg+xml">
|
||||
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/@alpine-collective/toolkit@1.0.2/dist/cdn.min.js"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/intersect@3.x.x/dist/cdn.min.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user