alxd commited on
Commit
3e3b032
·
1 Parent(s): 789e824

added folder

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. books-philosophy/README.md +12 -0
  3. philosophy.py +2 -2
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 3.40
8
- app_file: validation.py
9
  pinned: false
10
  ---
11
 
 
5
  colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 3.40
8
+ app_file: philosophy.py
9
  pinned: false
10
  ---
11
 
books-philosophy/README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Validation Therapy
3
+ emoji: 🌍
4
+ colorFrom: green
5
+ colorTo: indigo
6
+ sdk: gradio
7
+ sdk_version: 3.40
8
+ app_file: philosophy.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
philosophy.py CHANGED
@@ -80,8 +80,8 @@ def data_querying(input_text):
80
  iface = gr.Interface(fn=data_querying,
81
  inputs=gr.components.Textbox(lines=20, label="Enter your question"),
82
  outputs=gr.components.Textbox(lines=25, label="Response", style="height: 400px; overflow-y: scroll;"),
83
- title="Therapy Validation GPT 0.1 pre alpha")
84
 
85
  #passes in data directory
86
- index = data_ingestion_indexing("book-validation")
87
  iface.launch(inline=True)
 
80
  iface = gr.Interface(fn=data_querying,
81
  inputs=gr.components.Textbox(lines=20, label="Enter your question"),
82
  outputs=gr.components.Textbox(lines=25, label="Response", style="height: 400px; overflow-y: scroll;"),
83
+ title="Philosophy GPT - Aristotle Complete Works: https://www.rauterberg.employee.id.tue.nl/lecturenotes/DDM110%20CAS/Aristotle-320BC%20The%20Complete%20Works.pdf")
84
 
85
  #passes in data directory
86
+ index = data_ingestion_indexing("books-philosophy")
87
  iface.launch(inline=True)