NaveenPradhaph commited on
Commit
b579bc3
·
1 Parent(s): b656c04

using our model

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -3,5 +3,8 @@ import gradio as gr
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
 
 
 
7
  iface.launch()
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
+ iface = gr.Interface.load("pradhaph/medical-falcon-7b",
7
+ inputs=gr.Textbox(lines=5, label="Input Text") # customizes the input component
8
+ ).launch()
9
+
10
  iface.launch()