ysharma HF staff commited on
Commit
aca2a8b
1 Parent(s): 546bac0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -3,11 +3,6 @@ import plotly.express as px
3
 
4
  # Chatbot demo with multimodal input (text, markdown, LaTeX, code blocks, image, audio, & video). Plus shows support for streaming text.
5
 
6
- def random_plot():
7
- df = px.data.iris()
8
- fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species",
9
- size='petal_length', hover_data=['petal_width'])
10
- return fig
11
 
12
  def print_like_dislike(x: gr.LikeData):
13
  print(x.index, x.value, x.liked)
@@ -23,7 +18,6 @@ def bot(history):
23
  history[-1][1] = "Cool!"
24
  return history
25
 
26
- fig = random_plot()
27
 
28
  with gr.Blocks(fill_height=True) as demo:
29
  chatbot = gr.Chatbot(
 
3
 
4
  # Chatbot demo with multimodal input (text, markdown, LaTeX, code blocks, image, audio, & video). Plus shows support for streaming text.
5
 
 
 
 
 
 
6
 
7
  def print_like_dislike(x: gr.LikeData):
8
  print(x.index, x.value, x.liked)
 
18
  history[-1][1] = "Cool!"
19
  return history
20
 
 
21
 
22
  with gr.Blocks(fill_height=True) as demo:
23
  chatbot = gr.Chatbot(