Spaces:
Sleeping
Sleeping
adarshj322
commited on
Commit
·
2d172d8
1
Parent(s):
a691223
Bug fixes gradio import
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import gradio
|
2 |
|
3 |
|
4 |
import wandb
|
@@ -70,5 +70,5 @@ def generateSubject(email):
|
|
70 |
def predict(name):
|
71 |
return "Hello " + name + "!!"
|
72 |
|
73 |
-
iface =
|
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()
|