sandz7 commited on
Commit
24f840d
Β·
verified Β·
1 Parent(s): 6be716d

Renamed project

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ API_KEY = os.getenv('OPEN_AI_API_KEY')
16
 
17
  DESCRIPTION = '''
18
  <div>
19
- <h1 style="text-align: center;">Amphisbeana 🐍</h1>
20
  <p>This uses Llama 3 and GPT-4o as generation, both of these make the final generation. <a href="https://huggingface.co/meta-llama/Meta-Llama-3-8B"><b>Llama3-8b</b></a> and <a href="https://platform.openai.com/docs/models/gpt-4o"><b>GPT-4o</b></a></p>
21
  </div>
22
  '''
@@ -60,7 +60,7 @@ def gpt_4o_generation(llama_input: str,
60
 
61
  stream = client.chat.completions.create(
62
  model="gpt-4o",
63
- messages=[{"role": "system", "content": "You are a helpful assistant called 'Amphisbeana'."},
64
  {"role": "user", "content": prompt}],
65
  stream=True,
66
  )
 
16
 
17
  DESCRIPTION = '''
18
  <div>
19
+ <h1 style="text-align: center;">Loki πŸ‘οΈ</h1>
20
  <p>This uses Llama 3 and GPT-4o as generation, both of these make the final generation. <a href="https://huggingface.co/meta-llama/Meta-Llama-3-8B"><b>Llama3-8b</b></a> and <a href="https://platform.openai.com/docs/models/gpt-4o"><b>GPT-4o</b></a></p>
21
  </div>
22
  '''
 
60
 
61
  stream = client.chat.completions.create(
62
  model="gpt-4o",
63
+ messages=[{"role": "system", "content": "You are a helpful assistant called 'Loki'."},
64
  {"role": "user", "content": prompt}],
65
  stream=True,
66
  )