Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,10 +25,9 @@ def greet(name):
|
|
25 |
# url = f'https://huggingface.co/spaces?p=1&sort=modified&search=GPT'
|
26 |
# html = request_url(url)
|
27 |
# key = os.getenv("OPENAI_API_KEY")
|
28 |
-
x = torch.
|
29 |
out = model(x)
|
30 |
-
|
31 |
-
return f"Hello {out.shape} !!"
|
32 |
|
33 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
34 |
iface.launch()
|
|
|
25 |
# url = f'https://huggingface.co/spaces?p=1&sort=modified&search=GPT'
|
26 |
# html = request_url(url)
|
27 |
# key = os.getenv("OPENAI_API_KEY")
|
28 |
+
x = torch.ones([1,3,224,224])
|
29 |
out = model(x)
|
30 |
+
return f"Hello {model.bn1.running_mean.data} !!"
|
|
|
31 |
|
32 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
33 |
iface.launch()
|