TejAndrewsACC commited on
Commit
2546d5f
·
verified ·
1 Parent(s): 1e7a2b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,7 +14,7 @@
14
 
15
 
16
  # coding=utf-8
17
- # Copyright 2025 The ACC Team Authors and The HuggingFace Inc. team.
18
  #
19
  # Licensed under the Apache License, Version 2.0 (the "License");
20
  # you may not use this file except in compliance with the License.
@@ -1363,7 +1363,7 @@ def advanced_text_generation(input_vector):
1363
 
1364
  def chat(user_input, history=[]):
1365
  print("FiPhi-NeuralMark ACC Initialized")
1366
- base_length = round(2 * PHI)
1367
 
1368
  # Process user input
1369
  user_input_tokens = user_input.split()
@@ -1374,7 +1374,7 @@ def chat(user_input, history=[]):
1374
 
1375
  # Generate the response (only one response generated here)
1376
  response = advanced_text_generation(input_vector)
1377
- response = response[:50]
1378
 
1379
  # Clear previous history and only store the current user input and response
1380
  history = [{"role": "user", "content": user_input}, {"role": "assistant", "content": response}]
 
14
 
15
 
16
  # coding=utf-8
17
+ # Copyright 2025 The ACC Team Authors
18
  #
19
  # Licensed under the Apache License, Version 2.0 (the "License");
20
  # you may not use this file except in compliance with the License.
 
1363
 
1364
  def chat(user_input, history=[]):
1365
  print("FiPhi-NeuralMark ACC Initialized")
1366
+ base_length = 1
1367
 
1368
  # Process user input
1369
  user_input_tokens = user_input.split()
 
1374
 
1375
  # Generate the response (only one response generated here)
1376
  response = advanced_text_generation(input_vector)
1377
+ response = response[:1]
1378
 
1379
  # Clear previous history and only store the current user input and response
1380
  history = [{"role": "user", "content": user_input}, {"role": "assistant", "content": response}]