AndreiFX commited on
Commit
4be9ba0
·
1 Parent(s): ac9e2d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from text_generation import Client
10
  #FalcomLM-instruct endpoint on the text_generation library
11
  client = Client(API_URL, headers={"Authorization": f"Bearer {hf_api_key}"}, timeout=120)
12
 
13
- def generate(input, slider):
14
  output = client.generate(f' Act as a dream interpreter and analyze dreams using the psychoanalytical approach. Elaborate on the different possible interpretation and use the psychological aspects. The dream: {input}', max_new_tokens = 500).generated_text
15
  return output
16
 
 
10
  #FalcomLM-instruct endpoint on the text_generation library
11
  client = Client(API_URL, headers={"Authorization": f"Bearer {hf_api_key}"}, timeout=120)
12
 
13
+ def generate(input):
14
  output = client.generate(f' Act as a dream interpreter and analyze dreams using the psychoanalytical approach. Elaborate on the different possible interpretation and use the psychological aspects. The dream: {input}', max_new_tokens = 500).generated_text
15
  return output
16