Guiyom commited on
Commit
0a8e976
·
1 Parent(s): 9227a2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -84,13 +84,6 @@ with gr.Blocks(theme=gr.themes.Glass()) as demo:
84
  state3up = [{"role": "system", "content": themehelp},{"role": "assistant", "content": languagedict[language]['helpfirst']}]
85
  return titleup, input1up, input2up, input3up, chatbot1up, chatbot2up, chatbot3up, state1up, state2up, state3up
86
 
87
- # INTERFACE
88
- mode = gr.Textbox(value = "mode1", visible = False)
89
- title = gr.Markdown(value=languagedict['English']['welcome'])
90
- visual = gr.Image(value = url)
91
- language = gr.Dropdown(languageoptions , value= "English", label="Choose language / 選擇語言")
92
-
93
- # REFERENCES
94
  languageoptions = ["English", "廣東話"]
95
  languagedict = {
96
  "English": {
@@ -118,6 +111,14 @@ with gr.Blocks(theme=gr.themes.Glass()) as demo:
118
  "helplabel": "你在哪裡需要幫助?我們會讓您知道如何找到它"
119
  }
120
  }
 
 
 
 
 
 
 
 
121
 
122
  themewhatcanido = f"""
123
  You are a career advisor for people in Hong Kong with relatively low skills job.
 
84
  state3up = [{"role": "system", "content": themehelp},{"role": "assistant", "content": languagedict[language]['helpfirst']}]
85
  return titleup, input1up, input2up, input3up, chatbot1up, chatbot2up, chatbot3up, state1up, state2up, state3up
86
 
 
 
 
 
 
 
 
87
  languageoptions = ["English", "廣東話"]
88
  languagedict = {
89
  "English": {
 
111
  "helplabel": "你在哪裡需要幫助?我們會讓您知道如何找到它"
112
  }
113
  }
114
+
115
+ # INTERFACE
116
+ mode = gr.Textbox(value = "mode1", visible = False)
117
+ title = gr.Markdown(value=languagedict['English']['welcome'])
118
+ visual = gr.Image(value = url)
119
+ language = gr.Dropdown(languageoptions , value= "English", label="Choose language / 選擇語言")
120
+
121
+ # REFERENCES
122
 
123
  themewhatcanido = f"""
124
  You are a career advisor for people in Hong Kong with relatively low skills job.