Sephfox commited on
Commit
c93ba6d
·
verified ·
1 Parent(s): d181295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -299,11 +299,15 @@ with col2:
299
  Provide a detailed, scientific analysis of the AI's experience.
300
  AI:"""
301
 
302
- input_ids = tokenizer.encode(prompt, return_tensors="pt")
 
 
 
 
303
 
304
  output = model.generate(
305
  input_ids,
306
- max_length=300,
307
  num_return_sequences=1,
308
  no_repeat_ngram_size=2,
309
  top_k=50,
 
299
  Provide a detailed, scientific analysis of the AI's experience.
300
  AI:"""
301
 
302
+ prompt = f"""Human: Analyze the sensory input for a hyper-advanced AI humanoid:
303
+ # (Prompt generation omitted for brevity)
304
+ AI:"""
305
+
306
+ input_ids = tokenizer.encode(prompt, return_tensors="pt")
307
 
308
  output = model.generate(
309
  input_ids,
310
+ max_length=400,
311
  num_return_sequences=1,
312
  no_repeat_ngram_size=2,
313
  top_k=50,