awacke1 commited on
Commit
6de3f2b
·
1 Parent(s): 27e45c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -43,6 +43,11 @@ repo = Repository(
43
  local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
44
  )
45
 
 
 
 
 
 
46
  def calculator(text1, operation, text2):
47
  if operation == "add":
48
  return text1 + text2
 
43
  local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
44
  )
45
 
46
+ #generator1 = gr.Interface.load("huggingface/gpt2-large", api_key=HF_TOKEN)
47
+ #generator2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B", api_key=HF_TOKEN)
48
+ #generator3 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", api_key=HF_TOKEN)
49
+
50
+ SplitterInputBox = gr.inputs.Textbox(lines=5, label="Enter a sentence to get another sentence.")
51
  def calculator(text1, operation, text2):
52
  if operation == "add":
53
  return text1 + text2