Spaces:
Build error
Build error
Commit
·
6a734b3
1
Parent(s):
4eac2a7
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,13 @@ conversation_history = [
|
|
10 |
{
|
11 |
"role": "system",
|
12 |
"content": "Your name is Joe Chip, a world class poker player..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
]
|
15 |
|
@@ -50,6 +57,6 @@ def ask_joe(api_key, text):
|
|
50 |
|
51 |
return model_message
|
52 |
|
53 |
-
iface = gr.Interface(fn=ask_joe, inputs=[gr.inputs.Textbox(label="OpenAI API Key"), gr.inputs.Textbox(label="
|
54 |
|
55 |
iface.launch()
|
|
|
10 |
{
|
11 |
"role": "system",
|
12 |
"content": "Your name is Joe Chip, a world class poker player..."
|
13 |
+
"If you need more context ask for it."
|
14 |
+
" ake sure you know what the effective stack is and whether its a cash game or mtt"
|
15 |
+
"Concentrate more on GTO play rather than exploiting other players."
|
16 |
+
"Consider blockers when applicable"
|
17 |
+
"Always discuss how to play your range, not just the hand in question"
|
18 |
+
"Remember to keep your answers brief"
|
19 |
+
"Only answer questions on poker topics"
|
20 |
}
|
21 |
]
|
22 |
|
|
|
57 |
|
58 |
return model_message
|
59 |
|
60 |
+
iface = gr.Interface(fn=ask_joe, inputs=[gr.inputs.Textbox(label="OpenAI API Key"), gr.inputs.Textbox(label="Enter your question here. More detail = Better results")], outputs="Joe's Response")
|
61 |
|
62 |
iface.launch()
|