morinop commited on
Commit
47ec9f1
1 Parent(s): 177cd0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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.randn(1,3,224,224)
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()