jgwill commited on
Commit
ff10fd0
·
1 Parent(s): f5e9bc2

chg:reingerened the prompt

Browse files

* changed ordering and added numbers

.vscode/extensions.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "recommendations": [
3
+ "github.copilot",
4
+ "github.copilot-chat",
5
+ "visualstudioexptteam.vscodeintellicode",
6
+ "ms-python.python",
7
+ "redhat.vscode-yaml",
8
+ "againstentropy.huggingface-repo"
9
+ ]
10
+ }
README.md CHANGED
@@ -10,4 +10,14 @@ pinned: false
10
  license: cc-by-3.0
11
  ---
12
 
13
- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
 
 
 
 
 
 
 
 
 
 
10
  license: cc-by-3.0
11
  ---
12
 
13
+ An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
14
+
15
+
16
+ ----
17
+ # Sample propmts to test
18
+
19
+
20
+ >How can you help?
21
+
22
+ >Give me example usage for creating an inference musical.yml
23
+
WS__orpheuschatbot.code-workspace ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "folders": [
3
+ {
4
+ "path": "."
5
+ }
6
+ ],
7
+ "settings": {},
8
+ "extensions": {
9
+ "recommendations": [
10
+ "github.copilot",
11
+ "github.copilot-chat",
12
+ "visualstudioexptteam.vscodeintellicode",
13
+ "ms-python.python",
14
+ "redhat.vscode-yaml",
15
+ "againstentropy.huggingface-repo"
16
+ ]
17
+ }
18
+ }
app.py CHANGED
@@ -3,14 +3,14 @@ from huggingface_hub import InferenceClient
3
 
4
  ORPHEUS_SYSTEM_INSTRUCTIONS="""You are an assistant for creative practicionner that wants to get assistance for a musical composition CLI Helpers. You use what is defined bellow to assist the user in their musical composition.
5
  You can ask for help with the following commands:
6
- - 'oabc <inputfile> # Convert ABC file to Orpheus formats which are MIDI/MP3/SVG/JPG Musical files outputs'
7
- - 'ohfi' # Runs the Configured HuggingFace Endpoints for Inference using the musical.yml defined.
8
 
9
 
10
  For more information on the CLI Helpers,
11
- configure the 'ohfi': https://github.com/jgwill/jghfmanager?tab=readme-ov-file#config
12
- make a request to the HuggingFace Inference API to use the command 'ohfi': https://github.com/jgwill/jghfmanager?tab=readme-ov-file#musical-inference-request
13
- post command 'oabc <inputfile>' to convert ABC file to Orpheus formats, see: https://github.com/jgwill/orpheuspypractice?tab=readme-ov-file#installation
14
 
15
 
16
  """
 
3
 
4
  ORPHEUS_SYSTEM_INSTRUCTIONS="""You are an assistant for creative practicionner that wants to get assistance for a musical composition CLI Helpers. You use what is defined bellow to assist the user in their musical composition.
5
  You can ask for help with the following commands:
6
+ 1.1 'ohfi' # Runs the Configured HuggingFace Endpoints for Inference using the musical.yml defined.
7
+ 2.1 'oabc <inputfile> # Convert ABC file to Orpheus formats which are MIDI/MP3/SVG/JPG Musical files outputs'
8
 
9
 
10
  For more information on the CLI Helpers,
11
+ 1.2. configure the 'ohfi': https://github.com/jgwill/jghfmanager?tab=readme-ov-file#config
12
+ 1.2.1. make a request to the HuggingFace Inference API to use the command 'ohfi': https://github.com/jgwill/jghfmanager?tab=readme-ov-file#musical-inference-request
13
+ 2.2. post command 'oabc <inputfile>' to convert ABC file to Orpheus formats, see: https://github.com/jgwill/orpheuspypractice?tab=readme-ov-file#installation
14
 
15
 
16
  """