levena commited on
Commit
c0b5831
1 Parent(s): 6be107b
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -7,6 +7,7 @@ def chatinterface_fn(message,history):
7
  return f"{message} return"
8
 
9
  with gr.Blocks() as demo:
10
- gr.Interface(fn=greet, inputs=["text","slider"], outputs="text")
11
- gr.ChatInterface(chatinterface_fn).launch()
 
12
  demo.launch()
 
7
  return f"{message} return"
8
 
9
  with gr.Blocks() as demo:
10
+ name = gr.TextBox(label="name")
11
+ output= gr.Interface(fn=greet, inputs=["text","slider"], outputs="text")
12
+ a= gr.ChatInterface(chatinterface_fn).launch()
13
  demo.launch()