Spaces:
Runtime error
Runtime error
Commit
·
9cd77c1
1
Parent(s):
bf44487
chose
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ import elasticsearch
|
|
8 |
import torch
|
9 |
import torch_xla.core.xla_model as xm
|
10 |
|
|
|
11 |
MB = 1024*1024
|
12 |
def eat_memory():
|
13 |
mem = []
|
@@ -23,4 +24,4 @@ def greet(name):
|
|
23 |
return "Hello " + name + "!! Tensor: " + t3 + ", secret: " + os.environ.get("TEST_ENV_SECRET")
|
24 |
|
25 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
26 |
-
iface.launch()
|
|
|
8 |
import torch
|
9 |
import torch_xla.core.xla_model as xm
|
10 |
|
11 |
+
# yet another bidule
|
12 |
MB = 1024*1024
|
13 |
def eat_memory():
|
14 |
mem = []
|
|
|
24 |
return "Hello " + name + "!! Tensor: " + t3 + ", secret: " + os.environ.get("TEST_ENV_SECRET")
|
25 |
|
26 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
27 |
+
iface.launch()
|