Update app.py
Browse files
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',"
|
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 |
|