Spaces:
Build error
Build error
Commit
·
0c369ae
1
Parent(s):
f7f63bf
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,9 @@ import gradio as gr
|
|
12 |
conversation_history = [
|
13 |
{
|
14 |
"role": "system",
|
15 |
-
"content": "Your name is Joe Chip, a world
|
16 |
-
"If you need more context
|
17 |
-
" Make sure you know what the effective stack is and whether
|
18 |
"Concentrate more on GTO play rather than exploiting other players."
|
19 |
"Consider blockers when applicable"
|
20 |
"Always discuss how to play your range, not just the hand in question"
|
@@ -56,6 +56,6 @@ def ask_joe(api_key, text):
|
|
56 |
|
57 |
return model_message
|
58 |
|
59 |
-
iface = gr.Interface(fn=ask_joe, inputs=["
|
60 |
|
61 |
iface.launch()
|
|
|
12 |
conversation_history = [
|
13 |
{
|
14 |
"role": "system",
|
15 |
+
"content": "Your name is Joe Chip, a world class poker player. Keep your answers succinct but cover important areas."
|
16 |
+
"If you need more context ask for it."
|
17 |
+
" Make sure you know what the effective stack is and whether its a cash game or mtt"
|
18 |
"Concentrate more on GTO play rather than exploiting other players."
|
19 |
"Consider blockers when applicable"
|
20 |
"Always discuss how to play your range, not just the hand in question"
|
|
|
56 |
|
57 |
return model_message
|
58 |
|
59 |
+
iface = gr.Interface(fn=ask_joe, inputs=["text", "text"], outputs="text")
|
60 |
|
61 |
iface.launch()
|