File size: 1,007 Bytes
58093f0
 
39529ec
58093f0
 
39c9508
f16cbcf
58093f0
 
3f952e8
58093f0
 
 
f16cbcf
39529ec
f16cbcf
58093f0
f16cbcf
39529ec
 
58093f0
 
 
 
f16cbcf
 
58093f0
 
 
 
f16cbcf
 
 
3f952e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
lite_metadata:
  gradio_version: 3.32.0
  liteobj_version: 0.0.7
class_string: gradio.interface.Interface
kwargs:
  title: gitio app
  description: Conversational assistant.
  article: null
  thumbnail: null
  theme: ParityError/Anime
  css: null
  allow_flagging: never
  inputs:
  - class_string: gradio.components.Textbox
    kwargs:
      label: user_input
  outputs:
  - class_string: gradio.components.Textbox
    kwargs:
      label: output
  fn:
    class_string: gradify.gradify_closure
    kwargs:
      argmaps:
      - label: user_input
        postprocessing: null
      func_kwargs: {}
      ldict:
        class_string: gradify.exec_to_dict
        kwargs:
          source: "def conversational_assistant(user_input):\n    greetings = ['hi',\
            \ 'hello', 'hey']\n    if user_input.lower() in greetings:\n        return\
            \ 'Hello! How can I assist you today?'\n    else:\n        return \"I'm\
            \ sorry, I didn't understand your request. Please try again.\""