abhaskumarsinha commited on
Commit
ae0a2c0
1 Parent(s): 7d113e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ GPT.load_weights('AEON_30M.weights.h5')
23
  inference = Generative_inference(GPT, tokenizer, input_len=256, k_value=5)
24
 
25
  # Default text
26
- default_input_text = "Nearly a half-century ago, Apollo 11 astronaut Neil Armstrong walked on the Moon. NASA is now preparing for an ambitious new era of sustainable human spaceflight and discovery. The agency is building the Space Launch System rocket and the Orion spacecraft for human deep space exploration. With the help of commercial and international partners, NASA will develop new opportunities in lunar orbit, including a platform to aid surface exploration and serve as a gateway to Mars."
27
 
28
  # Define the function to generate text based on input
29
  def generate_text(input_text, k_value=10, generate_limit=50):
 
23
  inference = Generative_inference(GPT, tokenizer, input_len=256, k_value=5)
24
 
25
  # Default text
26
+ default_input_text = "A black hole is a region of spacetime where gravity is so strong that nothing, including light and other electromagnetic waves, is capable of possessing enough energy to escape it. Einstein's theory of general relativity predicts that a sufficiently compact mass can deform spacetime to form a black hole. The boundary of no escape is called the event horizon. A black hole has a great effect on the fate and circumstances of an object crossing it, but it has no locally detectable features according to general relativity. In many ways, a black hole acts like an ideal black body, as it reflects no light."
27
 
28
  # Define the function to generate text based on input
29
  def generate_text(input_text, k_value=10, generate_limit=50):