Spaces:
Runtime error
Runtime error
Commit
•
457173d
1
Parent(s):
a7bf6f1
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,13 @@
|
|
1 |
-
import
|
|
|
|
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
5 |
|
6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
iface.launch()
|
|
|
|
1 |
+
import evaluate
|
2 |
+
from evaluate.utils import launch_gradio_widget
|
3 |
+
|
4 |
|
5 |
+
module = evaluate.load("run.py")
|
6 |
+
launch_gradio_widget(module)
|
7 |
+
|
8 |
+
'''
|
9 |
+
import gradio as gr
|
10 |
|
11 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
12 |
iface.launch()
|
13 |
+
'''
|