fzmnm commited on
Commit
cc037e2
·
verified ·
1 Parent(s): 7f2d559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  import random
2
 
3
  def random_response(message, history):
@@ -5,6 +8,8 @@ def random_response(message, history):
5
 
6
  import gradio as gr
7
 
 
 
8
  gr.ChatInterface(
9
  fn=random_response,
10
  type="messages"
 
1
+ import gradio as gr
2
+ print(f"Gradio version: {gr.__version__}")
3
+
4
  import random
5
 
6
  def random_response(message, history):
 
8
 
9
  import gradio as gr
10
 
11
+
12
+
13
  gr.ChatInterface(
14
  fn=random_response,
15
  type="messages"