Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,8 +25,8 @@ 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 |
-
|
| 29 |
-
|
| 30 |
return f"Hello {model.bn1.running_mean.data} !!"
|
| 31 |
|
| 32 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
|
| 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")
|