yael-vinker commited on
Commit
c736cdc
·
1 Parent(s): cdd07c8
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +3 -1
  2. app.py +3 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -1,8 +1,10 @@
1
  import torch
2
  import gradio as gr
3
 
 
 
4
  def greet(name):
5
- return "hello" + name
6
 
7
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
  iface.launch()
 
1
  import torch
2
  import gradio as gr
3
 
4
+ print(torch.__version__)
5
+
6
  def greet(name):
7
+ return "hello" + name + torch.__version__
8
 
9
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
10
  iface.launch()
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import torch
2
  import gradio as gr
3
 
 
 
4
  def greet(name):
5
- return "hello" + name
6
 
7
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
  iface.launch()
 
1
  import torch
2
  import gradio as gr
3
 
4
+ print(torch.__version__)
5
+
6
  def greet(name):
7
+ return "hello" + name + torch.__version__
8
 
9
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
10
  iface.launch()