chansung commited on
Commit
ba983c4
·
verified ·
1 Parent(s): fdd7718

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. .github/workflows/sync_to_spaces.yml +1 -1
  2. README.md +24 -0
.github/workflows/sync_to_spaces.yml CHANGED
@@ -35,7 +35,7 @@ jobs:
35
 
36
  - name: Copy Files to Hugging Face Repo
37
  run: |
38
- rsync -av --exclude='.git' --exclude='README.md' ./ hf_space/
39
 
40
  - name: Merge README.md Files
41
  run: |
 
35
 
36
  - name: Copy Files to Hugging Face Repo
37
  run: |
38
+ rsync -av --exclude='.git' --exclude='README.md' --exclude='hf_space' ./ hf_space/
39
 
40
  - name: Merge README.md Files
41
  run: |
README.md CHANGED
@@ -81,3 +81,27 @@ $ python main.py # or gradio main.py
81
 
82
  # Acknowledgments
83
  This is a project built during the Vertex sprints held by Google's ML Developer Programs team. We are thankful to be granted good amount of GCP credits to do this project.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  # Acknowledgments
83
  This is a project built during the Vertex sprints held by Google's ML Developer Programs team. We are thankful to be granted good amount of GCP credits to do this project.
84
+ # AdaptSum
85
+
86
+ AdaptSum stands for Adaptive Summarization. This project focuses on developing an LLM-powered system for dynamic summarization. Instead of generating entirely new summaries with each update, the system intelligently identifies and modifies only the necessary parts of the existing summary. This approach aims to create a more efficient and fluid summarization process within a continuous chat interaction with an LLM.
87
+
88
+ # Instructions
89
+
90
+ 1. Install dependencies
91
+ ```shell
92
+ $ pip install requirements.txt
93
+ ```
94
+
95
+ 2. Setup Gemini API Key
96
+ ```shell
97
+ $ export GEMINI_API_KEY=xxxxx
98
+ ```
99
+ > note that GEMINI API KEY should be obtained from Google AI Studio. Vertex AI is not supported at the moment (this is because Gemini SDK does not provide file uploading functionality for Vertex AI usage now).
100
+
101
+ 3. Run Gradio app
102
+ ```shell
103
+ $ python main.py # or gradio main.py
104
+ ```
105
+
106
+ # Acknowledgments
107
+ This is a project built during the Vertex sprints held by Google's ML Developer Programs team. We are thankful to be granted good amount of GCP credits to do this project.