Shago commited on
Commit
94bb2d6
·
verified ·
1 Parent(s): a04bbec

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +16 -14
  2. main.py +5 -1
  3. requirements.txt +12 -0
README.md CHANGED
@@ -1,14 +1,16 @@
1
- ---
2
- title: Basic Engineering Economics Agent
3
- emoji: ⚡
4
- colorFrom: pink
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 5.36.2
8
- app_file: app.py
9
- pinned: false
10
- license: mit
11
- short_description: Basic Engineering Economics Agent
12
- ---
13
-
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
+
2
+ # Basic Engineering Economics Ollama Agent
3
+
4
+ This application enables the calculation of the time value of money (TVM) equivalents based on a natural language query.
5
+
6
+ The application is developed using Gradio as the user interface. The libraries utilized in the application's development are:
7
+
8
+ * `gradio`
9
+ * `langchain`
10
+ * `langchain-core`
11
+ * `langchain-ollama`
12
+ * `langgraph`
13
+ * `typing`
14
+ * `engineonomics` ()
15
+
16
+ Sentences are generated using the `Qwen3:4b` large language model (LLM).
main.py CHANGED
@@ -1 +1,5 @@
1
-
 
 
 
 
 
1
+ from interfaces.interface import create_interface
2
+
3
+ if __name__ == "__main__":
4
+ iface = create_interface()
5
+ iface.launch()
requirements.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --find-links https://download.pytorch.org/whl/cpu
2
+ torch
3
+ transformers
4
+ timm
5
+ accelerate
6
+ gradio
7
+ langchain
8
+ langchain-core
9
+ langchain-ollama
10
+ langgraph
11
+ typing
12
+ git+https://github.com/tiagogiraldo/engineconomics.git