not-lain commited on
Commit
ef4a283
β€’
1 Parent(s): 18b530b

🌘wπŸŒ–

Browse files
Files changed (1) hide show
  1. app.py +15 -17
app.py CHANGED
@@ -116,21 +116,19 @@ If you want to support my work please click on the heart react button β€οΈπŸ€—
116
  """
117
 
118
 
119
- with gr.Blocks() as demo:
120
- gr.Markdown(TITLE)
121
- gr.Markdown(DESCRIPTION)
122
- gr.ChatInterface(
123
- fn=talk,
124
- chatbot=gr.Chatbot(
125
- show_label=True,
126
- show_share_button=True,
127
- show_copy_button=True,
128
- likeable=True,
129
- layout="bubble",
130
- bubble_full_width=False,
131
- ),
132
- theme="Soft",
133
- examples=[["what is machine learning"]],
134
- )
135
-
136
  demo.launch(debug=True)
 
116
  """
117
 
118
 
119
+ demo = gr.ChatInterface(
120
+ fn=talk,
121
+ chatbot=gr.Chatbot(
122
+ show_label=True,
123
+ show_share_button=True,
124
+ show_copy_button=True,
125
+ likeable=True,
126
+ layout="bubble",
127
+ bubble_full_width=False,
128
+ ),
129
+ theme="Soft",
130
+ examples=[["what is machine learning"]],
131
+ title=TITLE,
132
+ description=DESCRIPTION,
133
+ )
 
 
134
  demo.launch(debug=True)