jchen8000 commited on
Commit
d6ce3c4
·
verified ·
1 Parent(s): 41c33c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import os
2
  import random
3
  import gradio as gr
4
- from langchain.chains import LLMChain
5
  from langchain_core.prompts import (
6
  ChatPromptTemplate,
7
  HumanMessagePromptTemplate,
@@ -60,11 +59,11 @@ additional_inputs = [
60
  ]
61
 
62
  example1 = [
63
- ["Who are you? and please introduce yourself."],
64
  ["What's the distance from Tokyo to New York?"],
65
  ["What to San Francisco?"],
66
  ["Then what to Beijing?"],
67
  ["And what to Kyoto?"],
 
68
  ]
69
 
70
  # Create the Gradio interface
 
1
  import os
2
  import random
3
  import gradio as gr
 
4
  from langchain_core.prompts import (
5
  ChatPromptTemplate,
6
  HumanMessagePromptTemplate,
 
59
  ]
60
 
61
  example1 = [
 
62
  ["What's the distance from Tokyo to New York?"],
63
  ["What to San Francisco?"],
64
  ["Then what to Beijing?"],
65
  ["And what to Kyoto?"],
66
+ ["What from Beijing to New York?"]
67
  ]
68
 
69
  # Create the Gradio interface