enpaiva commited on
Commit
6a9f389
1 Parent(s): 8191a3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -31,11 +31,11 @@ llm = Llama(model_path="model.gguf",
31
  n_ctx=512,
32
  n_threads=2)
33
 
34
- DOC_PATH = "/app/think-paraguayo-space-aux/index"
35
 
36
  print(os.getcwd())
37
 
38
- documents = SimpleDirectoryReader(input_files=["/app/think-paraguayo-space-aux/libro.txt"]).load_data()
39
 
40
  parser = SentenceSplitter(chunk_size=128, chunk_overlap=64)
41
  nodes = parser.get_nodes_from_documents(
@@ -131,7 +131,7 @@ def main():
131
 
132
  with gr.Row(variant='panel'):
133
  with gr.Column(scale=1):
134
- gr.Image(value="/app/think-paraguayo-space-aux/think_paraguayo.jpeg", type="filepath", label="Imagen Estática")
135
 
136
  with gr.Column(scale=1):
137
  # with gr.Row():
 
31
  n_ctx=512,
32
  n_threads=2)
33
 
34
+ DOC_PATH = "/think-paraguayo-space-aux/index"
35
 
36
  print(os.getcwd())
37
 
38
+ documents = SimpleDirectoryReader(input_files=["/think-paraguayo-space-aux/libro.txt"]).load_data()
39
 
40
  parser = SentenceSplitter(chunk_size=128, chunk_overlap=64)
41
  nodes = parser.get_nodes_from_documents(
 
131
 
132
  with gr.Row(variant='panel'):
133
  with gr.Column(scale=1):
134
+ gr.Image(value="/think-paraguayo-space-aux/think_paraguayo.jpeg", type="filepath", label="Imagen Estática")
135
 
136
  with gr.Column(scale=1):
137
  # with gr.Row():