adarshj322 commited on
Commit
2d172d8
·
1 Parent(s): a691223

Bug fixes gradio import

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
2
 
3
 
4
  import wandb
@@ -70,5 +70,5 @@ def generateSubject(email):
70
  def predict(name):
71
  return "Hello " + name + "!!"
72
 
73
- iface = gr.Interface(fn=generateSubject, inputs=gr.inputs.Textbox(), outputs="text")
74
  iface.launch()
 
1
+ import gradio
2
 
3
 
4
  import wandb
 
70
  def predict(name):
71
  return "Hello " + name + "!!"
72
 
73
+ iface = gradio.Interface(fn=generateSubject, inputs=gradio.inputs.Textbox(), outputs="text")
74
  iface.launch()