Yahir commited on
Commit
9690514
1 Parent(s): 5d58d95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
  import subprocess
4
 
5
  def run_llama(input):
6
- output = subprocess.check_output(['./main', '-m', 'qunt4_0.bin', '-p',"UTranscript of a dialog, where the User interacts with an Assistant named Bob. Bob is helpful, kind, honest, good at writing, and never fails to answer the User's requests immediately and with precision. Usuario: "+ input + ". Asistente:"]) output_str = str(output.decode('utf-8'))
7
  response = output_str.split("Asistente:")[-1].strip()
8
  return response
9
 
 
3
  import subprocess
4
 
5
  def run_llama(input):
6
+ output = subprocess.check_output(['./main', '-m', 'qunt4_0.bin', '-p',"Usuario: "+ input + ". Asistente:"]) output_str = str(output.decode('utf-8'))
7
  response = output_str.split("Asistente:")[-1].strip()
8
  return response
9