r-o-y-a commited on
Commit
45e54b3
1 Parent(s): d46a756

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -1,5 +1,18 @@
1
  import gradio as gr
2
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  gr.load("models/arpanghoshal/EmoRoBERTa").launch()
4
 
5
 
 
 
1
  import gradio as gr
2
 
3
+ def my_inference_function(name):
4
+ return "Hello " + name + "!"
5
+
6
+ gradio_interface = gradio.Interface(
7
+ fn=my_inference_function,
8
+ inputs="text",
9
+ outputs="text",
10
+ examples=[
11
+ ["Jill"],
12
+ ["Sam"]
13
+ ]
14
+ )
15
  gr.load("models/arpanghoshal/EmoRoBERTa").launch()
16
 
17
 
18
+