Jimpa666 commited on
Commit
3dc6b65
·
1 Parent(s): 1b0a4a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import openai
5
  #import config
6
  import gradio as gr
7
 
8
- openai.api_key = os.getenv("APIKEY")
9
 
10
  #start_sequence = "\nCoach: "
11
  #restart_sequence = "\nPlayer: "
@@ -59,6 +59,7 @@ Padelcoach = gr.Interface(fn=chatbot, inputs=[
59
  ["Please help me with my backhand"],
60
  ["Where should I place the ball against players who is good in tennis"]
61
  ],
 
62
  title="AI Padelcoach",
63
  description="Chat with a BETA level AI-Padelcoach from Sweden.",
64
  article="<p>Ask the AI coach about techniques and strategies in the game of padel. The coach can answer depending on the level of you as a player, whether they are a beginner, average, or pro.</p>",
 
5
  #import config
6
  import gradio as gr
7
 
8
+ openai.api_key = "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"
9
 
10
  #start_sequence = "\nCoach: "
11
  #restart_sequence = "\nPlayer: "
 
59
  ["Please help me with my backhand"],
60
  ["Where should I place the ball against players who is good in tennis"]
61
  ],
62
+ share=True,
63
  title="AI Padelcoach",
64
  description="Chat with a BETA level AI-Padelcoach from Sweden.",
65
  article="<p>Ask the AI coach about techniques and strategies in the game of padel. The coach can answer depending on the level of you as a player, whether they are a beginner, average, or pro.</p>",