seawolf2357 commited on
Commit
c82d9a0
Β·
verified Β·
1 Parent(s): aa6d728

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ OPENAI_API_KEY = os.getenv("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"
12
  def predict(inputs, top_p, temperature, openai_api_key, chat_counter, chatbot=[], history=[]):
13
 
14
  # μ‚¬μš©μžμ˜ μž…λ ₯을 λ‚˜λ ˆμ΄μ…˜ μŠ€νƒ€μΌμ˜ ν”„λ‘¬ν”„νŠΈλ‘œ λ³€ν™˜
15
- narration_prompt = f"λ™μ˜μƒμ— μ‚¬μš©ν•  전문적인 λ‚˜λ ˆμ΄μ…˜μ„ μž‘μ„±ν•˜λΌ.일체의 μ§€λ¬Έμ΄λ‚˜ μ§€μ‹œ, λ°°κ²½ μ„€λͺ… 등은 μ œμ™Έν•˜κ³  μˆœμˆ˜ν•œ λ‚˜λ ˆμ΄μ…˜λ§Œ 2쀄씩 λ¬Άμ–΄μ„œ μ΅œλŒ€ 5쀄 μ΄λ‚΄λ‘œ 좜λ ₯λ ₯. μž…λ ₯: '{inputs}'"
16
 
17
  payload = {
18
  "model": "gpt-4-1106-preview",
 
12
  def predict(inputs, top_p, temperature, openai_api_key, chat_counter, chatbot=[], history=[]):
13
 
14
  # μ‚¬μš©μžμ˜ μž…λ ₯을 λ‚˜λ ˆμ΄μ…˜ μŠ€νƒ€μΌμ˜ ν”„λ‘¬ν”„νŠΈλ‘œ λ³€ν™˜
15
+ narration_prompt = f"λ™μ˜μƒμ— μ‚¬μš©ν•  전문적인 λ‚˜λ ˆμ΄μ…˜μ„ μž‘μ„±ν•˜λΌ.일체의 μ§€λ¬Έμ΄λ‚˜ μ§€μ‹œ, λ°°κ²½ μ„€λͺ… 등을 λ…ΈμΆœ ν•˜κ±°λ‚˜ 좜λ ₯ν•˜μ§€ 말고 μˆœμˆ˜ν•œ λ‚˜λ ˆμ΄μ…˜λ§Œ 2쀄씩 λ¬Άμ–΄μ„œ μ΅œλŒ€ 8쀄 μ΄λ‚΄λ‘œ 좜λ ₯λ ₯. μž…λ ₯: '{inputs}'"
16
 
17
  payload = {
18
  "model": "gpt-4-1106-preview",