x0x7 commited on
Commit
c93f6af
1 Parent(s): c975a37

Add the app

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import torch
3
+
4
+ def greet(name):
5
+ return torch.cuda.is_available()
6
+
7
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+ iface.launch(share=True)