Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,6 @@ import time
|
|
6 |
import os
|
7 |
import elasticsearch
|
8 |
|
9 |
-
os.environ["GRADIO_SERVER_NAME"] = "127.0.0.1"
|
10 |
-
|
11 |
MB = 1024*1024
|
12 |
|
13 |
def eat_memory():
|
@@ -22,4 +20,4 @@ def greet(name):
|
|
22 |
|
23 |
# comments
|
24 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
25 |
-
iface.launch(
|
|
|
6 |
import os
|
7 |
import elasticsearch
|
8 |
|
|
|
|
|
9 |
MB = 1024*1024
|
10 |
|
11 |
def eat_memory():
|
|
|
20 |
|
21 |
# comments
|
22 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
23 |
+
iface.launch()
|